SyTen

◆ get_handle()

HandleBox syten::Cuda::get_handle ( CudaStream const &  str)

Returns a cublas handle associated to the device device and switches the current CUDA device to this device.

References syten::Cuda::CudaStream::dev(), handles, and select_device().

Referenced by addScaled(), conj_copy(), syten::CudaDenseTensorImpl::cuda_transpose_r2(), dot(), max_element_idx(), scale(), and version().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: