mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Updated semaphore tests to use clSemaphoreReImportSyncFdKHR. (#1854)
* Updated semaphore tests to use clSemaphoreReImportSyncFdKHR. Additionally updated common semaphore code to handle spec updates that restrict simultaneous importing/exporting of handles. * Fix build issues on CI * gcc build issues * Make clReImportSemaphoreSyncFdKHR a required API call if cl_khr_external_semaphore_sync_fd is present. * Implement signal and wait for all semaphore types.
This commit is contained in:
@@ -369,7 +369,7 @@ int main(int argc, const char *argv[])
|
||||
log_info(" TEST SKIPPED\n");
|
||||
return CL_SUCCESS;
|
||||
}
|
||||
init_cl_vk_ext(platform);
|
||||
init_cl_vk_ext(platform, num_devices, devices);
|
||||
|
||||
// Execute tests.
|
||||
// Note: don't use the entire harness, because we have a different way of
|
||||
@@ -381,4 +381,4 @@ int main(int argc, const char *argv[])
|
||||
errNum = parseAndCallCommandLineTests(argCount, argList, devices[device_no],
|
||||
test_num, test_list, config);
|
||||
return errNum;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user