[clang] [llvm] [mlir] [NVPTX] Add support for Distributed Shared Memory address space. (PR #135444)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 18:12:28 PDT 2025


modiking wrote:

> I wish PTX would be a bit more consistent about naming things. Documentation calls it distributed shared memory (and it is distributed, and is shared), but the PTX instructions, compiler builtins and intrinsics use shared::cluster (as opposed to regular shared AKA shared::cta).
> 
> I would prefer to keep nomenclature used in LLVM consistent everywhere and stick with SHARED_CLUSTER, given that it is already in use and happens to be technically more precise ("Distributed" can mean anything, while cluster is unambiguous in specifying the scope of sharing domain)

That sounds good. I'll rename with ADDRESS_SHARED_CLUSTER/llvm_shared_cluster_ptr_ty

https://github.com/llvm/llvm-project/pull/135444


More information about the llvm-commits mailing list