Skip to content

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

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