|
inline |
Returns the device hosting data or -1 if either no device is used or data is the nullptr.
References syten::Cuda::CudaDynArray< Type >::data, and syten::Cuda::host_device().
Referenced by syten::Cuda::addScaled(), syten::Cuda::dot(), and syten::Cuda::scale().