mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix vulkan subtest for diffCtx and platform/device info (#2046)
Fixes: 1. Multi import diff ctx subtest which acquires/releases external memory via queue not associated with the context in which memory was imported. 2. Platform/Device info subtests to handle different platforms and availability of the query.
This commit is contained in:
@@ -517,9 +517,10 @@ int test_consistency_external_semaphore(cl_device_id deviceID,
|
||||
|
||||
// Pass invalid object to release call
|
||||
errNum = clReleaseSemaphoreKHRptr(NULL);
|
||||
test_failure_error(errNum, CL_INVALID_VALUE,
|
||||
"clReleaseSemaphoreKHRptr fails with "
|
||||
"CL_INVALID_VALUE when NULL semaphore object is passed");
|
||||
test_failure_error(
|
||||
errNum, CL_INVALID_SEMAPHORE_KHR,
|
||||
"clReleaseSemaphoreKHRptr fails with "
|
||||
"CL_INVALID_SEMAPHORE_KHR when NULL semaphore object is passed");
|
||||
|
||||
// Release both semaphore objects
|
||||
errNum = clReleaseSemaphoreKHRptr(clVk2Clsemaphore);
|
||||
|
||||
Reference in New Issue
Block a user