void syten::Cuda::addScaled | ( | CudaDynArray< std::complex< double > > & | a, |
CudaDynArray< std::complex< double > > const & | b, | ||
std::complex< double > const | factor | ||
) |
Adds b
scaled by factor
to a
.
References syten::addScaled(), get_handle(), handle_error(), syten::Cuda::CudaStream::sync_destroy(), and SYTEN_ASSERT.