SyTen

◆ scale() [1/6]

void syten::Cuda::scale ( CudaDynArray< double > &  a,
double const  f 
)

Scales the entries of a by f.

References syten::Cuda::CudaDynArray< Type >::begin(), syten::Cuda::CudaPtr< T >::get(), syten::Cuda::CudaDynArray< Type >::get_device(), get_handle(), handle_error(), syten::Cuda::CudaDynArray< Type >::size(), syten::Cuda::CudaStream::sync_destroy(), SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.

+ Here is the call graph for this function: