Skip to content

Commit e74662b

Browse files
committed
refine docs
1 parent 82a5a75 commit e74662b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/NVPTXUsage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ Overview:
687687

688688
The *effects* of the ``@llvm.nvvm.discard.L2*`` intrinsics are those of a non-atomic
689689
non-volatile ``llvm.memset`` that writes ``undef`` to the destination
690-
address range ``[%ptr, %ptr + immarg)``.
690+
address range ``[%ptr, %ptr + immarg)``. The ``%ptr`` must be aligned by 128.
691691
Subsequent reads from the address range may read ``undef`` until the memory is overwritten
692692
with a different value.
693693
These operations *hint* the implementation that data in the L2 cache can be destructively

0 commit comments

Comments
 (0)