{ \
if (umpire::macro_tracking == 0) { \
UMPIRE_LOG(
Debug,
"Calling cudaMemcpyToSymbol DeviceAllocator macro."); \
if (err != cudaSuccess) { \
fmt::format("cudaMemcpyToSymbol failed with error: {}", cudaGetErrorString(err))); \
} \
} \
umpire::macro_tracking = 1; \
}
Lightweight allocator for use in GPU code.
Definition: DeviceAllocator.hpp:19
@ Debug
Definition: Logger.hpp:20
__device__ DeviceAllocator * UMPIRE_DEV_ALLOCS
Definition: device_allocator_helper.cpp:25
DeviceAllocator * UMPIRE_DEV_ALLOCS_h
Definition: device_allocator_helper.cpp:24