ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

tensormap.replace

T2 nvidia-gpu bitmanip insn
NVIDIA PTX PTX Virtual ISA Instruction: tensormap.replace
SourceLLVM NVIDIA PTX Virtual ISA & Feature Definitions (llvm_nvptx_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeNVIDIA PTX (LLVM) (PTX Virtual ISA)
NVIDIA CUDA PTX (sm_20 Fermi through sm_121 Blackwell)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/NVPTX
Privilegeuser
ExtensionsPTX Virtual ISA, anonymous_29789, hasTensormapAllocClassSupport, hasTensormapReplaceSupport, hasTensormapReplaceSwizzleAtomicitySupport

Summary

NVIDIA PTX tensormap.replace instruction (PTX Virtual ISA) with 32 encoding variants extracted from LLVM TableGen. Extensions: anonymous_29789, hasTensormapAllocClassSupport, hasTensormapReplaceSupport, hasTensormapReplaceSwizzleAtomicitySupport.

Syntax / Encoding

TENSORMAP_REPLACE_SWIZZLE_MODE_GLOBAL: tensormap.replace.tile.swizzle_mode.global.b1024.b32 [$addr], $val;
TENSORMAP_REPLACE_SWIZZLE_MODE_SHARED_CTA: tensormap.replace.tile.swizzle_mode.shared::cta.b1024.b32 [$addr], $val;
TENSORMAP_REPLACE_TILE_ELEMTYPE_GLOBAL: tensormap.replace.tile.elemtype.global.b1024.b32 [$addr], $val;
TENSORMAP_REPLACE_TILE_ELEMTYPE_SHARED_CTA: tensormap.replace.tile.elemtype.shared::cta.b1024.b32 [$addr], $val;
TENSORMAP_REPLACE_SWIZZLE_ATOMICITY_GLOBAL: tensormap.replace.tile.swizzle_atomicity.global.b1024.b32 [$addr], $val;
TENSORMAP_REPLACE_SWIZZLE_ATOMICITY_SHARED_CTA: tensormap.replace.tile.swizzle_atomicity.shared::cta.b1024.b32 [$addr], $val;
TENSORMAP_REPLACE_TILE_ALLOC_LARGE_GLOBAL: tensormap.replace.tile.alloc_large.global.b1024 [$addr];
TENSORMAP_REPLACE_TILE_ALLOC_LARGE_SHARED_CTA: tensormap.replace.tile.alloc_large.shared::cta.b1024 [$addr];

Operands

NameDescription
addr
val
ord
val