[llvm] [mlir] [NVPTX] Split Param address space into EntryParam and DeviceParam (NFC) (PR #186636)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 16 20:07:22 PDT 2026
================
@@ -27,7 +27,7 @@ enum AddressSpace : unsigned {
ADDRESS_SPACE_TENSOR = 6,
ADDRESS_SPACE_SHARED_CLUSTER = 7,
- ADDRESS_SPACE_PARAM = 101,
+ ADDRESS_SPACE_ENTRY_PARAM = 101,
----------------
AlexMaclean wrote:
In PTX, "entry" seems like the canonical way to refer to a kernel. For example, ".entry" is used to mark a kernel, and this space can be referenced as "ld.param::entry", while I personally agree that "entry" is somewhat overloaded and "kernel" seems reasonable, I think it is clearer to keep consistency with PTX here.
https://github.com/llvm/llvm-project/pull/186636
More information about the llvm-commits
mailing list