triton.experimental.gluon.language.nvidia.hopper.bulk.prefetch
- triton.experimental.gluon.language.nvidia.hopper.bulk.prefetch(pointer, num_bytes, pred=True, _semantic=None)
Prefetch contiguous global-memory ranges into L2 on NVIDIA SM90 and newer.
Issues a nonblocking cache hint for each enabled range. A subsequent load uses the original pointer and may hit in L2. The operands broadcast to a common shape, so a block of pointers can prefetch several disjoint ranges.
- Parameters:
pointer – Global-memory pointer or tensor of pointers, each 16-byte aligned.
num_bytes – Nonnegative 32-bit byte count per range, a multiple of 16.
pred – Boolean predicate per range. Defaults to True.