Replies: 1 comment 4 replies
-
Hello @zjin-lcf, I have looked at that in the past (and writing about the issue in my internship report ahah). There is https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/SubGroupMask/SubGroupMask.asciidoc which could be intended to bridge the gap. I saw the implementation being committed some weeks ago. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some cuda kernels call the __activemask() function. Is a SYCL function needed for that ? Thanks.
https://github.com/mgawan/GPU-BSW/blob/master/kernel.cpp
__activemask():
Returns a 32-bit integer mask of all currently active threads in the calling warp. The Nth bit is set if the Nth lane in the warp is active when __activemask() is called. Inactive threads are represented by 0 bits in the returned mask.
Beta Was this translation helpful? Give feedback.
All reactions