Add missing terminator to export-handle-types list property
This commit is contained in:
parent
20afedbd4a
commit
0357ff485f
1 changed files with 3 additions and 1 deletions
|
|
@ -985,6 +985,8 @@ int test_semaphores_import_export_fd(cl_device_id deviceID, cl_context context,
|
|||
CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR),
|
||||
static_cast<cl_semaphore_properties_khr>(
|
||||
CL_SEMAPHORE_HANDLE_SYNC_FD_KHR),
|
||||
static_cast<cl_semaphore_properties_khr>(
|
||||
CL_SEMAPHORE_EXPORT_HANDLE_TYPES_LIST_END_KHR),
|
||||
0
|
||||
};
|
||||
cl_semaphore_khr sema_1 =
|
||||
|
|
@ -1142,4 +1144,4 @@ int test_semaphores_invalid_command(cl_device_id deviceID, cl_context context,
|
|||
test_error(err, "Could not release semaphore");
|
||||
|
||||
return TEST_PASS;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue