cpu_cuda_vector.h File Reference
#include <btas/array_adaptor.h>
#include <TiledArray/cuda/platform.h>
#include <TiledArray/cuda/thrust.h>
Include dependency graph for cpu_cuda_vector.h:

Classes

class  TiledArray::cpu_cuda_vector< T, HostAlloc, DeviceAlloc >
 a vector that lives on either host or device side, or both More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, TiledArray::cpu_cuda_vector< T > >
 
struct  madness::archive::ArchiveStoreImpl< Archive, TiledArray::cpu_cuda_vector< T > >
 

Namespaces

 TiledArray
 
 madness
 
 madness::archive
 

Functions

template<MemorySpace Space, typename T , typename HostAlloc , typename DeviceAlloc >
bool TiledArray::in_memory_space (const cpu_cuda_vector< T, HostAlloc, DeviceAlloc > &vec) noexcept
 
template<ExecutionSpace Space, typename T , typename HostAlloc , typename DeviceAlloc >
void TiledArray::to_execution_space (cpu_cuda_vector< T, HostAlloc, DeviceAlloc > &vec, cudaStream_t stream=0)
 
template<typename T >
void TiledArray::make_device_storage (cpu_cuda_vector< T > &storage, std::size_t n, cudaStream_t stream=0)
 
template<typename T >
T * TiledArray::device_data (cpu_cuda_vector< T > &storage)
 
template<typename T >
const T * TiledArray::device_data (const cpu_cuda_vector< T > &storage)