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