mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix code format errors vs.3
This commit is contained in:
committed by
Alastair Murray
parent
450f583800
commit
f1dd503c6c
@@ -43,7 +43,8 @@ test_status InitCL(cl_device_id device) {
|
||||
cl_uint max_queues_size;
|
||||
error = clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES,
|
||||
sizeof(max_queues_size), &max_queues_size, NULL);
|
||||
if (error != CL_SUCCESS) {
|
||||
if (error != CL_SUCCESS)
|
||||
{
|
||||
print_error(error, "Unable to get max queues on device");
|
||||
return TEST_FAIL;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,8 @@ test_definition test_list[] = {
|
||||
ADD_TEST( device_and_host_timers ),
|
||||
};
|
||||
|
||||
test_status InitCL(cl_device_id device) {
|
||||
test_status InitCL(cl_device_id device)
|
||||
{
|
||||
auto version = get_device_cl_version(device);
|
||||
auto expected_min_version = Version(2, 1);
|
||||
cl_platform_id platform;
|
||||
@@ -45,8 +46,8 @@ test_status InitCL(cl_device_id device) {
|
||||
return TEST_SKIP;
|
||||
}
|
||||
|
||||
error = clGetDeviceInfo(device, CL_DEVICE_PLATFORM,
|
||||
sizeof(platform), &platform, NULL);
|
||||
error = clGetDeviceInfo(device, CL_DEVICE_PLATFORM, sizeof(platform),
|
||||
&platform, NULL);
|
||||
if (error != CL_SUCCESS)
|
||||
{
|
||||
print_error(error, "Unable to get device platform");
|
||||
|
||||
Reference in New Issue
Block a user