Skip to content

view.AtomicMemoryFlags enum

← Attribute reference

Semantic requirements for atomic memory updates.

Cases

Keyword Value Description
root_in_bounds 8 Promise that the complete physical access lies within its allocation root. Logical view indices must still be proven in bounds. This carries a source-language access contract through opaque pointer transport and has no target execution semantics.
noftz 2 Preserve subnormal inputs and results of floating-point atomic addition. Without this flag the target may flush subnormals. The selected target must support the requested element width; preservation may require a compare-exchange loop. Returned old values retain their bits with or without this flag.

Used by

  • view.atomic.reduce.memory_flags
  • view.atomic.rmw.memory_flags