mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Tidy up subgroup log messages (#1454)
Add missing newlines and improve wording of messages. Signed-off-by: Stuart Brady <stuart.brady@arm.com>
This commit is contained in:
@@ -100,7 +100,7 @@ int test_sub_group_info(cl_device_id device, cl_context context,
|
||||
subgroupsApiSet.clGetKernelSubGroupInfo_ptr();
|
||||
if (clGetKernelSubGroupInfo_ptr == NULL)
|
||||
{
|
||||
log_error("ERROR: %s function not available",
|
||||
log_error("ERROR: %s function not available\n",
|
||||
subgroupsApiSet.clGetKernelSubGroupInfo_name);
|
||||
return TEST_FAIL;
|
||||
}
|
||||
@@ -112,7 +112,7 @@ int test_sub_group_info(cl_device_id device, cl_context context,
|
||||
if (error != CL_SUCCESS)
|
||||
{
|
||||
log_error("ERROR: %s function error for "
|
||||
"CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE",
|
||||
"CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE\n",
|
||||
subgroupsApiSet.clGetKernelSubGroupInfo_name);
|
||||
return TEST_FAIL;
|
||||
}
|
||||
@@ -133,7 +133,7 @@ int test_sub_group_info(cl_device_id device, cl_context context,
|
||||
if (error != CL_SUCCESS)
|
||||
{
|
||||
log_error("ERROR: %s function error "
|
||||
"for CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE",
|
||||
"for CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE\n",
|
||||
subgroupsApiSet.clGetKernelSubGroupInfo_name);
|
||||
return TEST_FAIL;
|
||||
}
|
||||
@@ -209,4 +209,4 @@ int test_sub_group_info_ext(cl_device_id device, cl_context context,
|
||||
}
|
||||
|
||||
return test_sub_group_info(device, context, queue, num_elements, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user