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:
Stuart Brady
2022-08-01 10:18:36 +01:00
committed by GitHub
parent b06ccc6cd9
commit 017f514c21
4 changed files with 23 additions and 23 deletions

View File

@@ -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);
}
}