SyTen

◆ alloc_on_device() [2/2]

template<typename T >
CudaPtr< T > syten::Cuda::alloc_on_device ( std::size_t  sz,
std::int16_t  device 
)

Allocates enough space for num objects of type T on the specified CUDA device and returns an appropriate CudaPtr.

References alloc_on_device().

+ Here is the call graph for this function: