mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Add missing EXTERNAL_HANDLE_TYPES list terminator.
This commit is contained in:
@@ -986,6 +986,8 @@ int test_semaphores_import_export_fd(cl_device_id deviceID, cl_context context,
|
|||||||
CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR),
|
CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR),
|
||||||
static_cast<cl_semaphore_properties_khr>(
|
static_cast<cl_semaphore_properties_khr>(
|
||||||
CL_SEMAPHORE_HANDLE_SYNC_FD_KHR),
|
CL_SEMAPHORE_HANDLE_SYNC_FD_KHR),
|
||||||
|
static_cast<cl_semaphore_properties_khr>(
|
||||||
|
CL_SEMAPHORE_EXPORT_HANDLE_TYPES_LIST_END_KHR),
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
cl_semaphore_khr sema_1 =
|
cl_semaphore_khr sema_1 =
|
||||||
@@ -1143,4 +1145,4 @@ int test_semaphores_invalid_command(cl_device_id deviceID, cl_context context,
|
|||||||
test_error(err, "Could not release semaphore");
|
test_error(err, "Could not release semaphore");
|
||||||
|
|
||||||
return TEST_PASS;
|
return TEST_PASS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user