mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Use float<->half conversion routines from the OpenCL headers (#884)
* Use float<->half conversion routines from the OpenCL headers Fixes #870 Signed-off-by: Kevin Petit <kevin.petit@arm.com> * Use cl_half_from_double * Fix windows build errors * Fix more build errors * Code formatting * Remove TEST class
This commit is contained in:
@@ -14,11 +14,7 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
#include "helpers.h"
|
||||
#include "../harness/imageHelpers.h"
|
||||
|
||||
// convert_float_to_half and convert_half_to_float may be found in test_conformance/images/image_helpers.cpp
|
||||
cl_ushort convert_float_to_half( cl_float f );
|
||||
cl_float convert_half_to_float( cl_ushort h );
|
||||
#include "harness/imageHelpers.h"
|
||||
|
||||
#if defined( __APPLE__ )
|
||||
#include <OpenGL/glu.h>
|
||||
|
||||
Reference in New Issue
Block a user