Add missing terminator to export-handle-types list property

This commit is contained in:
paulfradgley 2023-05-10 09:27:27 +01:00 committed by GitHub
parent 20afedbd4a
commit 0357ff485f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}