SyTen

◆ alloc_on_device()

template<typename Type >
CudaPtr< Type > syten::Cuda::CudaDynArray< Type >::alloc_on_device ( int  device_hint)
inlineprivate

Allocates enough memory to fit length objects on the device device_hint and returns the pointer to this memory.

References syten::Cuda::CudaDynArray< Type >::length.

Referenced by syten::Cuda::CudaDynArray< Type >::CudaDynArray().

+ Here is the caller graph for this function: