[BUG]: `<cuda/std/barrier>` shouldn't include `<cuda/barrier>`
Open
breaking
libcu++
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 487
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 296
Description
`` currently includes [`<__cuda/barrier>`](https://github.com/NVIDIA/libcudacxx/blob/9d14ca711b2fda04df9ce44728c9eed2578acdf1/include/cuda/std/detail/libcxx/include/barrier#L487), meaning including `` will always inject `cuda::barrier` into the `cuda::` namespace even for host-only compilation.
Ideally, it should not do this. Instead, `` should include `<__cuda/barrier>` after `"std/barrier"` here: https://github.com/NVIDIA/libcudacxx/blob/9d14ca711b2fda04df9ce44728c9eed2578acdf1/include/cuda/barrier#L14
Contributor guide
Assessment
This issue has not been assessed yet.