You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For implementations that do not support cl_khr_command_buffer_multi_device, the CL_COMMAND_BUFFER_DEVICE_SIDE_SYNC_KHR enum does not exist. This means that this property is "not valid" rather than "not supported", therefore the error code should be CL_INVALID_VALUE rather than CL_INVALID_PROPERTY.
The device_side_enqueue_support capability is unrelated to CL_COMMAND_BUFFER_DEVICE_SIDE_SYNC_KHR.
Recommended fixes are:
Remove the codepath that tests the "unsupported property" CL_COMMAND_BUFFER_DEVICE_SIDE_SYNC_KHR. This means that the test will skip when simultaneous use is supported, because the only valid property is supported.
Revisit all of the cases that check device_side_enqueue_support to be sure this was the intended check.
The text was updated successfully, but these errors were encountered:
I don't believe that the command buffer
negative_create_command_buffer_not_supported_properties
test is correct.This test is trying to test this specific error code:
It does so by trying to find a "valid but unsupported property", specifically:
Note that
device_side_enqueue_support
was queried using:There are two problems here:
cl_khr_command_buffer_multi_device
, theCL_COMMAND_BUFFER_DEVICE_SIDE_SYNC_KHR
enum does not exist. This means that this property is "not valid" rather than "not supported", therefore the error code should beCL_INVALID_VALUE
rather thanCL_INVALID_PROPERTY
.device_side_enqueue_support
capability is unrelated toCL_COMMAND_BUFFER_DEVICE_SIDE_SYNC_KHR
.Recommended fixes are:
CL_COMMAND_BUFFER_DEVICE_SIDE_SYNC_KHR
. This means that the test will skip when simultaneous use is supported, because the only valid property is supported.device_side_enqueue_support
to be sure this was the intended check.The text was updated successfully, but these errors were encountered: