mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Merge branch 'cl21_trunk'
# Conflicts: # .travis.yml # CMakeLists.txt # CMakeVendor.txt # README.md # build_android.py # build_lnx.sh # build_win.bat # readme-spir-v-binaries.txt # test_common/harness/kernelHelpers.c # test_common/harness/kernelHelpers.h # test_conformance/CMakeLists.txt # test_conformance/opencl_conformance_tests_21_full_spirv.csv # test_conformance/opencl_conformance_tests_21_legacy_wimpy.csv # test_conformance/opencl_conformance_tests_full.csv # test_conformance/opencl_conformance_tests_full_no_math_or_conversions.csv # test_conformance/opencl_conformance_tests_quick.csv # test_conformance/run_conformance.py
This commit is contained in:
@@ -163,6 +163,13 @@ cl_device_fp_config get_default_rounding_mode( cl_device_id device );
|
||||
return 0; \
|
||||
}
|
||||
|
||||
#define PASSIVE_REQUIRE_FP16_SUPPORT(device) \
|
||||
if (!is_extension_available(device, "cl_khr_fp16")) \
|
||||
{ \
|
||||
log_info("\n\tNote: device does not support fp16. Skipping test...\n"); \
|
||||
return 0; \
|
||||
}
|
||||
|
||||
/* Prints out the standard device header for all tests given the device to print for */
|
||||
extern int printDeviceHeader( cl_device_id device );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user