11#include <hip/hip_runtime.h>
15#ifdef __HIP_DEVICE_COMPILE__
16#define __VECMEM_THREADFENCE_GLOBAL() __threadfence()
17#define __VECMEM_THREADFENCE_LOCAL() __threadfence_block()
19#define __VECMEM_THREADFENCE_GLOBAL()
20#define __VECMEM_THREADFENCE_LOCAL()
24#include "vecmem/memory/details/cuda_device_atomic_ref.hpp"
An allocator class that wraps a memory resource.
Definition allocator.hpp:37
Custom implementation for atomic operations in CUDA device code.
Definition cuda_device_atomic_ref.hpp:34
Main namespace for the vecmem classes/functions.
Definition atomic_ref.hpp:16
device_address_space
Custom definition for the device memory adress space.
Definition device_address_space.hpp:12