alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
AtomicCpu.hpp
Go to the documentation of this file.
1/* Copyright 2025 Andrea Bocci, Felice Pantaleo
2 * SPDX-License-Identifier: MPL-2.0
3 */
4
5#pragma once
6
9
10namespace alpaka
11{
12#ifndef ALPAKA_DISABLE_ATOMIC_ATOMICREF
14#else
15 using AtomicCpu = AtomicStdLibLock<16>;
16#endif // ALPAKA_DISABLE_ATOMIC_ATOMICREF
17
18} // namespace alpaka
The atomic ops based on atomic_ref for CPU accelerators.
The alpaka accelerator library.