void syten::Cuda::scale | ( | CudaDynArray< std::complex< float > > & | a, |
float const | f | ||
) |
Scales the entries of a
by f
.
References get_handle(), handle_error(), syten::Cuda::CudaStream::sync_destroy(), SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.