You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry for the late response. This is not quite the right repo to make this issue in, I believe it should be best to make these kind of issues in https://github.com/ROCm/ROCm.
Regardless, I dug into it a bit for you, and it seems like the source thats reported on the ROCm docs page is not for the right branch. The ballot function isn't yet present in the header for ROCm 6.2.0 (see here), but it is present in the amd-staging version (see here). This usually means that it will be added in the next ROCm version.
I'll see if I can get that ROCm docs page fixed, there is probably something wrong there.
Problem Description
according to the document:
https://rocm.docs.amd.com/projects/HIP/en/docs-6.1.2/doxygen/html/amd__hip__cooperative__groups_8h_source.html
or higher ROCM version
coalesced_group::ballot can be enable by defintion HIP_ENABLE_WARP_SYNC_BUILTINS
but this is invalid
Operating System
ubuntu 22.04
CPU
AMD Ryzen 5 3600 6-Core Processor
GPU
AMD Radeon RX 7900 XTX, AMD Radeon RX 7900 XT
ROCm Version
ROCm 6.1.0
ROCm Component
HIP
Steps to Reproduce
-DHIP_ENABLE_WARP_SYNC_BUILTINS
...
namespace cg = cooperative_groups;
...
cg::coalesced_group thread_warp = cg::coalesced_threads(gg);
uint warp_done = thread_warp.ballot(1);
compile error:
error: no member named 'ballot' in 'cooperative_groups::coalesced_group'
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: