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

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 19 10:25:34 PDT 2025


================
@@ -25,6 +25,7 @@ enum AddressSpace : unsigned {
   ADDRESS_SPACE_CONST = 4,
   ADDRESS_SPACE_LOCAL = 5,
   ADDRESS_SPACE_TENSOR = 6,
+  ADDRESS_SPACE_SHARED_CLUSTER = 7,
----------------
AlexMaclean wrote:

I think it would be good to rename `ADDRESS_SPACE_SHARED` to `ADDRESS_SPACE_SHARED_CTA`. This would be a bit more consistent with PTX and I think clearer as well. With the current names it is easy to assume that SHARED_CLUSTER is a subspace of SHARED when in fact the opposite is true. 

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


More information about the llvm-commits mailing list