-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL][CUDA] Returns minimum mandated capabilities for atomic_fence device queries #8901
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
[SYCL][CUDA] Returns minimum mandated capabilities for atomic_fence device queries #8901
Conversation
… in CUDA backend. Signed-off-by: Maronas, Marcos <[email protected]>
Unfortunately the minimum mandated capabilities are not supported by all CUDA arches (especially |
This is beyond the scope of this PR, but if we want this query to return useful and correct information relating to a particular device we may have to implement some logic by hand to return the correct capabilities for each correct arch. I am also unsure of |
Totally agree, as soon as I get this merged I will open an issue for that. |
I'm not sure we can return something including less than minimum mandated capabilities, to be honest. @gmlueck what do you think? |
No, you cannot. All SYCL devices must support at least the required minimum capabilities when the spec says this. I think you are asking about |
Honestly, I'm not sure if @hdelan is talking about |
The SYCL spec has extremely minimal requirements for this query. The only requirement is that the device must support the |
Aha sorry I mistakenly conflated this with |
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.
LGTM
Currently, we were returning an error because it was unimplemented. I believe it makes more sense to return minimum mandated capabilities, as we do in other backends (e.g. HIP).