15#ifndef DCAFITTER_GPU_INTERFACE
16#define DCAFITTER_GPU_INTERFACE
29#if !defined(__HIPCC__) && !defined(__CUDACC__)
36typedef cudaStream_t
Stream;
64 std::vector<std::thread>
mPool{};
void allocDevice(void **, size_t)
std::atomic< unsigned short > mLastUsedStream
void unregisterBuffer(void *addr)
Stream & getStream(unsigned short N=0)
GPUInterface(GPUInterface &other)=delete
static GPUInterface * sGPUInterface
std::vector< Stream > mStreams
void operator=(const GPUInterface &)=delete
static GPUInterface * Instance()
std::vector< std::thread > mPool
void registerBuffer(void *, size_t)
struct o2::vertexing::device::_dummyStream Stream
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other