mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Use highest OpenCL C version (#1081)
* Set the highest supported OpenCL C version. * Remove gDeviceLt20 variable - not used anymore. * Fix formatting issues
This commit is contained in:
committed by
GitHub
parent
f02cbad2e3
commit
2597027737
@@ -67,9 +67,8 @@ int test_sub_group_info(cl_device_id device, cl_context context,
|
||||
|
||||
const std::string &kernel_str = kernel_sstr.str();
|
||||
const char *kernel_src = kernel_str.c_str();
|
||||
error = create_single_kernel_helper_with_build_options(
|
||||
context, &program, &kernel, 1, &kernel_src, "query_kernel",
|
||||
"-cl-std=CL2.0");
|
||||
error = create_single_kernel_helper(context, &program, &kernel, 1,
|
||||
&kernel_src, "query_kernel");
|
||||
if (error != 0) return error;
|
||||
|
||||
// Determine some local dimensions to use for the test.
|
||||
|
||||
Reference in New Issue
Block a user