Spirv readiness - move to harness

Fixes support  cl_khr_il_program
This commit is contained in:
Grzegorz Wawiorko
2020-03-31 11:25:45 +02:00
committed by Alastair Murray
parent adec8f9412
commit 9a006ba1a0
4 changed files with 91 additions and 48 deletions

View File

@@ -1103,12 +1103,6 @@ test_status InitCL( cl_device_id device )
}
gDevice = device;
test_status spirv_status;
spirv_status = check_spirv_compilation_readiness(device);
if (spirv_status != TEST_PASS) {
return spirv_status;
}
if( (error = clGetDeviceInfo( gDevice, CL_DEVICE_MAX_COMPUTE_UNITS, configSize, &gComputeDevices, NULL )) )
gComputeDevices = 1;