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
{{ message }}
Repository navigation
[BUG]: cuda::memcopy_async{_tx} has inefficient codegen on SM120 #6302
cuda::memcpy_async{_tx} emits the cp.async.bulk.shared::cluster.global.mbarrier::complete_tx::bytes instruction. This instruction has inefficient code-gen on SM120. It provides a fallback path when the shared memory pointer points to remote shared memory.
When available, the code should emit the PTX instruction with .shared::cta modifier, which has better codegen on SM120:
Activity
ahendriksen commentedon Oct 21, 2025
The
.shared::ctaoption was added in PTX ISA 8.6:https://nvidia.github.io/cccl/libcudacxx/ptx/instructions/cp_async_bulk.html#cp-async-bulk-shared-cta-global-mbarrier-complete-tx-bytes
bernhardmgruber commentedon Oct 21, 2025
I am certain we have this in other places too! I think @pauleonix also noticed this while working on
cub::[detail::]BlockLoadToSharedUse cp_async_bulk(space_shared,...) when available
Use cp_async_bulk(space_shared,...) when available
Use cp_async_bulk(space_shared,...) when available
Use cp_async_bulk(space_shared,...) when available
Use cp_async_bulk(space_shared,...) when available
Use `cp_async_bulk(space_shared,...)` when available (#6362)
Use `cp_async_bulk(space_shared,...)` when available (NVIDIA#6362)
[Backport to 3.1] Use `cp_async_bulk(space_shared,...)` when available (