Update CUDA::do_compute_avg_beam
- Do not use the buffers in
CUDA::m_buffers
, but allocate newcu::DeviceMemory
which is free'ed automatically when the routine is finished. - Improve code and add comment about
d_average_beam
being in double-precision - Use
std::array
instead ofstd::vector
where appropriate - Use
emplace_back
where appropriate
Edited by Bram Veenboer