triton.experimental.gluon.language.amd.rdna4.CachePolicy
- class triton.experimental.gluon.language.amd.rdna4.CachePolicy(self, temporal: str = 'regular')
Cache hints for gfx12 (RDNA4 and CDNA5) memory accesses, taken by the
bufferops and, on CDNA5, theasync_copyandtdmops.The hints are performance-only and never affect coherence. The coherence scope of an access comes from the op’s
scope=argument instead.- Parameters:
temporal (str) – How long the data is expected to stay in the caches (TH):
"regular","none"(not expected to be reused),"high"(expected to be reused) or, for loads only,"last_use"(the last read of the data, which the caches can drop)."last_use"can’t be combined with the"sys"scope.
- __init__(self, temporal: str = 'regular') None
Methods
__init__(self[, temporal])mangle(self)Attributes
temporaltype