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"
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
std::vector< T, vecmem::polymorphic_allocator< T > > vector
Alias type for vectors with our polymorphic allocator.
Definition vector.hpp:35