-
Notifications
You must be signed in to change notification settings - Fork 443
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
Improve check for compatibility of vector size and subgroup size in SYCL #4579
Improve check for compatibility of vector size and subgroup size in SYCL #4579
Conversation
b97b08e
to
cff2a34
Compare
This should work now. @brian-kelley Can you give this a try in view of #4573? |
Retest this please. |
@masterleinad Yes, this does catch the vector size being too big. |
Retest this please. |
1 similar comment
Retest this please. |
@masterleinad Is "subgroup size" equivalent to team size for Kokkos? Is this PR expected to catch issues with team size being too big? Coincidentally, the same kernel that had the local atomics issue now hangs because |
"group size" is equivalent to team size and subgroup size is related to vector size. I haven't seen a kernel hanging because of the team size/subgroup size being too large; normally there is some kind of error coming from the runtime. Anyway, please open a separate issue! |
3a036b5
to
7d0d595
Compare
This seems to finally work with storing the kernel obtained from the runtime in a |
0861ad1
to
0d64ed3
Compare
kernel | ||
.get_info<sycl::info::kernel_device_specific::max_sub_group_size>( |
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.
Format looks weird
Blocked by intel/llvm#5071.