11#include <hip/hip_runtime.h>
15#ifdef __HIP_DEVICE_COMPILE__
16#define __VECMEM_THREADFENCE __threadfence()
18#define __VECMEM_THREADFENCE
22#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