Skip to content

kernel.CacheScope enum

← Attribute reference

Target-independent logical cache-policy scope for memory operations.

Cases

Keyword Value Description
workgroup 0 Cache-policy scope is the current workgroup.
cluster 1 Cache-policy scope is the current workgroup cluster.
device 2 Cache-policy scope is the current device.
system 3 Cache-policy 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