mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Synchronise with Khronos-private Gitlab branch
The maintenance of the conformance tests is moving to Github. This commit contains all the changes that have been done in Gitlab since the first public release of the conformance tests. Signed-off-by: Kevin Petit kevin.petit@arm.com
This commit is contained in:
@@ -40,15 +40,15 @@ ct_assert((sizeof(basefn_names) / sizeof(basefn_names[0])) == (sizeof(basefn_lis
|
||||
|
||||
static const int num_fns = sizeof(basefn_names) / sizeof(char *);
|
||||
|
||||
static int
|
||||
static test_status
|
||||
checkSubGroupsExtension(cl_device_id device)
|
||||
{
|
||||
if (!is_extension_available(device, "cl_khr_subgroups")) {
|
||||
log_info("Device does not support 'cl_khr_subgroups'. Skipping the test.\n");
|
||||
return CL_INVALID_DEVICE;
|
||||
log_error("'cl_khr_subgroups' is a required extension, failing.\n");
|
||||
return TEST_FAIL;
|
||||
}
|
||||
|
||||
return CL_SUCCESS;
|
||||
return TEST_PASS;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user