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:
Ben Ashbaugh
2020-09-27 16:26:57 -07:00
committed by GitHub
parent 951d010eaf
commit beaecb71a3
7 changed files with 439 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ test_definition test_list[] = {
ADD_TEST(preprocessor_line_error),
ADD_TEST(preprocessor_pragma),
ADD_TEST(opencl_c_versions),
ADD_TEST(compiler_defines_for_extensions),
ADD_TEST(image_macro),