std::complex< double > syten::Cuda::dot | ( | CudaDynArray< std::complex< double > > const & | a, |
CudaDynArray< std::complex< double > > const & | b, | ||
Conj const | conj = Conj::n() |
||
) |
Returns the scalar product between two CudaDynArray objects.
If conj
is true, complex-conjugates the entries of the second array on-the-fly.
References copy(), cuda_dot_conj_kernel_impl(), free(), get_handle(), handle_error(), syten::Cuda::CudaStream::str(), syten::Cuda::CudaStream::sync_destroy(), SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.