Skip to content

Commit 6931c80

Browse files
committed
refresh
1 parent aa8e4d0 commit 6931c80

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

llvm/docs/NVPTXUsage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ specified address in global or local memory address space into the
989989
specified cache level (L1 or L2). If the '``.tensormap``' qualifier is specified then the
990990
prefetch instruction brings the cache line containing the specified address in the
991991
'``.const``' or '``.param memory``' state space for subsequent use by the '``cp.async.bulk.tensor``'
992-
instruction.The '`prefetchu.*``' instruction brings the cache line
992+
instruction. The '`prefetchu.*``' instruction brings the cache line
993993
containing the specified generic address into the specified uniform cache level.
994994
If no address space is specified, it is assumed to be generic address. The intrinsic
995995
uses and eviction priority which can be accessed by the '``.level::eviction_priority``' modifier.

llvm/lib/Target/NVPTX/NVPTXIntrinsics.td

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,11 @@ def PREFETCH_GLOBAL_L1 : PREFETCH_INTRS<"prefetch.global.L1">;
760760
def PREFETCH_LOCAL_L1 : PREFETCH_INTRS<"prefetch.local.L1">;
761761
def PREFETCH_GLOBAL_L2 : PREFETCH_INTRS<"prefetch.global.L2">;
762762
def PREFETCH_LOCAL_L2 : PREFETCH_INTRS<"prefetch.local.L2">;
763-
def PREFETCH_CONST_TENSORMAP : PREFETCH_INTRS<"prefetch.const.tensormap">;
764-
def PREFETCH_GENERIC_TENSORMAP : BasicNVPTXInst<(outs), (ins ADDR:$addr),
765-
"prefetch.tensormap",
766-
[(int_nvvm_prefetch_generic_tensormap addr:$addr)]>,
767-
Requires<[hasPTX<80>, hasSM<90>]>;
763+
def PREFETCH_CONST_TENSORMAP : PREFETCH_INTRS<"prefetch.const.tensormap">;
764+
def PREFETCH_GENERIC_TENSORMAP : BasicNVPTXInst<(outs), (ins ADDR:$addr),
765+
"prefetch.tensormap",
766+
[(int_nvvm_prefetch_generic_tensormap addr:$addr)]>,
767+
Requires<[hasPTX<80>, hasSM<90>]>;
768768

769769
def PREFETCH_GLOBAL_L2_EVICT_NORMAL : BasicNVPTXInst<(outs), (ins ADDR:$addr),
770770
"prefetch.global.L2::evict_normal",

0 commit comments

Comments
 (0)