The Gaudi Framework  master (37c0b60a)
CUDADeviceArray.h File Reference
#include <Gaudi/CUDA/CUDAStream.h>
#include <GaudiKernel/StatusCode.h>
#include <ranges>
#include <span>
#include <type_traits>
Include dependency graph for CUDADeviceArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Gaudi::CUDA::DeviceArrayGlobalTag_t
 
class  Gaudi::CUDA::DeviceArray< T >
 

Namespaces

 Gaudi
 This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from python with a format liks : ( nbins, min, max, title ) where title can be ommited.
 
 Gaudi::CUDA
 
 Gaudi::CUDA::Detail
 

Functions

void * Gaudi::CUDA::Detail::allocateWithStream (std::size_t size, Stream &stream)
 
void * Gaudi::CUDA::Detail::allocateNoStream (std::size_t size, Gaudi::AsynchronousAlgorithm *parent)
 
void Gaudi::CUDA::Detail::freeWithStream (void *ptr, Stream &stream)
 
void Gaudi::CUDA::Detail::freeNoStream (void *ptr)
 
void Gaudi::CUDA::Detail::copyHostToDeviceWithStream (void *devPtr, const void *hstPtr, std::size_t size, Stream &stream)
 
void Gaudi::CUDA::Detail::copyHostToDeviceNoStream (void *devPtr, const void *hstPtr, std::size_t size)
 
void Gaudi::CUDA::Detail::copyDeviceToHostWithStream (void *hstPtr, const void *devPtr, std::size_t size, Stream &stream)
 
void Gaudi::CUDA::Detail::copyDeviceToHostNoStream (void *hstPtr, const void *devPtr, std::size_t size)
 
void Gaudi::CUDA::Detail::copyDeviceToDeviceWithStream (void *destDevPtr, const void *srcDevPtr, std::size_t size, Stream &stream)
 
void Gaudi::CUDA::Detail::copyDeviceToDeviceNoStream (void *destDevPtr, const void *srcDevPtr, std::size_t size)
 

Variables

template<class T >
concept Gaudi::CUDA::TriviallyCopyable = std::is_trivially_copyable<T>::value
 Ensure type is trivially copyable (conceptization of std::is_trivially_copyable) More...
 
template<class R , class T >
concept Gaudi::CUDA::HostRange
 Constrain ranges that can represent host memory compatible with this array. More...