-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend clSetDefaultDeviceCommandQueue
test coverage
#1271
base: main
Are you sure you want to change the base?
Conversation
CL_QUEUE_PROPERTIES, (PROPERTIES | CL_QUEUE_ON_DEVICE_DEFAULT), 0 | ||
}; | ||
|
||
if (get_device_cl_version(deviceID) <= Version(3, 0)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be >=
as CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES
does not exist prior to 3.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea is to skip if it doesn't exists
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, but at the moment this test will be run on a 2.1 implementation so calling clGetDeviceInfo
with CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES
will (should) return CL_INVALID_VALUE
.
Not sure, why code format check is failing, as they are none are changes related to this PR |
4b4bbb4
to
898ff6a
Compare
clSetDefaultDeviceCommandQueue
test coverageclSetDefaultDeviceCommandQueue
test coverage
clSetDefaultDeviceCommandQueue
test coverageclSetDefaultDeviceCommandQueue
test coverage
This change is ready for review. |
Fixes KhronosGroup#23 Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
898ff6a
to
e93c70a
Compare
@kpet Rebased and CI checks are passing. |
Fixes #23
Add some positive testing for
clSetDefaultDeviceCommandQueue