Skip to content

view.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

  • view.atomic.cmpxchg.cache_scope
  • view.atomic.reduce.cache_scope
  • view.atomic.rmw.cache_scope
  • view.load.cache_scope
  • view.store.cache_scope