mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Re-enabling narrowing errors (#1144)
Fixes narrowing conversion build errors in test_common Removing disable of narrowing errors in main CMakeLists.txt and moving it down to specific test_conformance suite's CMakeLists.txt where there are many more build errors revealed from this fix. Fixes a few simple issues under test_conformance in the process. Contributes #787 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> --------- Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
This commit is contained in:
@@ -1016,7 +1016,7 @@ int test_execute_block(cl_device_id device, cl_context context, cl_command_queue
|
||||
size_t ret_len;
|
||||
cl_int n, err_ret, res = 0;
|
||||
clCommandQueueWrapper dev_queue;
|
||||
cl_int kernel_results[MAX_GWS] = {0xDEADBEEF};
|
||||
cl_int kernel_results[MAX_GWS] = { (cl_int)0xDEADBEEF };
|
||||
|
||||
size_t max_local_size = 1;
|
||||
err_ret = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len);
|
||||
|
||||
Reference in New Issue
Block a user