Replies: 2 comments 1 reply
-
Hi @jinz2014, In the core SYCL 2020 specification there are no functions available which allow you to operate with masks of active work-items within a group, nor there are group functions which can be called in a non-uniform control-flow (where only a subset of work-items within a group encountered a group function call). We do have some extensions for sub-group masks and non-uniform groups, but it seems like we don't support a "combination" of the two. Notes about the extensions I was talking about:
We have a couple of extensions for non-uniform groups: |
Beta Was this translation helpful? Give feedback.
-
Thanks.
|
Beta Was this translation helpful? Give feedback.
-
What is the SYCL function for CUDA's __activemask() ?
__activemask() returns a bit mask of currently active warp lanes. The nth bit of the result is 1 if the nth warp lane is active
Beta Was this translation helpful? Give feedback.
All reactions