Skip to content

kernel.CacheScope enum

← Attribute reference

Target-independent cache scope for memory operations.

Cases

Keyword Value Description
cu 0 Cache/coherency scope is the compute unit.
se 1 Cache/coherency scope is the shader engine.
device 2 Cache/coherency scope is the current device.
system 3 Cache/coherency scope is the full system.

Used by

  • kernel.async.cluster.gather.cache_scope
  • kernel.async.cluster.gather.mask.cache_scope
  • kernel.async.copy.cache_scope
  • kernel.async.copy.mask.cache_scope
  • kernel.async.gather.cache_scope
  • kernel.async.gather.mask.cache_scope
  • kernel.async.tensor.load.to.lds.cache_scope
  • kernel.async.tensor.store.from.lds.cache_scope