diff --git a/test_conformance/clcpp/synchronization/test_sub_group_barrier.hpp b/test_conformance/clcpp/synchronization/test_sub_group_barrier.hpp index 20de1824..c7074ed0 100644 --- a/test_conformance/clcpp/synchronization/test_sub_group_barrier.hpp +++ b/test_conformance/clcpp/synchronization/test_sub_group_barrier.hpp @@ -249,7 +249,7 @@ int test(cl_device_id device, cl_context context, cl_command_queue queue, test_o error = clGetDeviceInfo(device, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(device_local_mem_size), &device_local_mem_size, NULL); RETURN_ON_CL_ERROR(error, "clGetDeviceInfo") - max_work_group_size = (std::min)(max_work_group_size, (device_local_mem_size - kernel_local_mem_size) / sizeof(cl_long)); + max_work_group_size = (std::min)(max_work_group_size, (device_local_mem_size - kernel_local_mem_size) / sizeof(cl_long)); } std::random_device rd; diff --git a/test_conformance/clcpp/synchronization/test_work_group_barrier.hpp b/test_conformance/clcpp/synchronization/test_work_group_barrier.hpp index 79451fb8..aa7fbd20 100644 --- a/test_conformance/clcpp/synchronization/test_work_group_barrier.hpp +++ b/test_conformance/clcpp/synchronization/test_work_group_barrier.hpp @@ -237,7 +237,7 @@ int test(cl_device_id device, cl_context context, cl_command_queue queue, test_o error = clGetDeviceInfo(device, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(device_local_mem_size), &device_local_mem_size, NULL); RETURN_ON_CL_ERROR(error, "clGetDeviceInfo") - max_work_group_size = (std::min)(max_work_group_size, (device_local_mem_size - kernel_local_mem_size) / sizeof(cl_long)); + max_work_group_size = (std::min)(max_work_group_size, (device_local_mem_size - kernel_local_mem_size) / sizeof(cl_long)); } std::random_device rd;