Skip to content
  • Allison Vacanti's avatar
    Simplify and extend AtomicArray implementation. · 88461678
    Allison Vacanti authored
    - Use AtomicInterface to implement device-specific atomic operations.
    - Remove DeviceAdapterAtomicArrayImplementations.
    - Extend supported atomic types to include unsigned 32/64-bit ints.
    - Add a static_assert to check that AtomicArray type is supported.
    - Add documentation for AtomicArrayExecutionObject, including a CAS
      example.
    - Add a `T Get(idx)` method to AtomicArrayExecutionObject that does
      an atomic load, and update existing CAS usage to use this instead
      of `Add(idx, 0)`.
    88461678