-
Notifications
You must be signed in to change notification settings - Fork 124
Change urSuggestMaxCooperativeGroupCountExp to accept ND size parameter
#2316
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
Conversation
Signed-off-by: Michael Aziz <[email protected]>
Signed-off-by: Michael Aziz <[email protected]>
Signed-off-by: Michael Aziz <[email protected]>
steffenlarsen
left a comment
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.
CUDA and HIP changes LGTM!
nrspruit
left a comment
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.
Level Zero LGTM.
|
@nrspruit, do you know why the checks for this PR are failing? The logs show the following CMake error: I don't believe this error is caused by my changes but I'm also not sure if it's failing in any other PR. |
|
All SYCL tests for this PR are passing in intel/llvm#16051. |
if you can get that PR approved by |
|
@aarongreig, there's now an approval from |
I've added the label, just to manage your expectations: the queue is quite busy at the moment so there will be a wait to get merged |
Update calls to `urKernelSuggestMaxCooperativeGroupCountExp` to match the changes in oneapi-src/unified-runtime#2316. This PR also implements the `range<1>` and `range<2>` overloads of the `ext_oneapi_get_info` API from [sycl_ext_oneapi_launch_queries](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_launch_queries.asciidoc). --------- Signed-off-by: Michael Aziz <[email protected]> Co-authored-by: Martin Morrison-Grant <[email protected]>
Update calls to `urKernelSuggestMaxCooperativeGroupCountExp` to match the changes in oneapi-src/unified-runtime#2316. This PR also implements the `range<1>` and `range<2>` overloads of the `ext_oneapi_get_info` API from [sycl_ext_oneapi_launch_queries](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_launch_queries.asciidoc). --------- Signed-off-by: Michael Aziz <[email protected]> Co-authored-by: Martin Morrison-Grant <[email protected]>
The L0 API requires calling
zeKernelSetGroupSizebeforezeKernelSuggestMaxCooperativeGroupCountto ensure that the query result is correct. This PR changesurSuggestMaxCooperativeGroupCountExpto accept a group size withuint32_t *pworkDimandconst size_t **ppLocalWorkSizeparameters.