mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 15:39:03 +00:00
add checks for OpenCL C versions (#968)
* add test_compiler test for OpenCL C versions * add checks for required OpenCL C versions * bugfix: only OpenCL C 2.0 is required for OpenCL 2.1 and 2.2 * pass reference to feature struct vs. pointer * address review comments regarding C++ identifiers and 3d image writes
This commit is contained in:
@@ -88,6 +88,8 @@ extern int test_preprocessor_line_error(cl_device_id deviceID,
|
||||
extern int test_preprocessor_pragma(cl_device_id deviceID, cl_context context,
|
||||
cl_command_queue queue, int num_elements);
|
||||
|
||||
extern int test_opencl_c_versions(cl_device_id device, cl_context context,
|
||||
cl_command_queue queue, int num_elements);
|
||||
extern int test_compiler_defines_for_extensions(cl_device_id device,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
|
||||
Reference in New Issue
Block a user