Skip to content

Avoid unncecessary copies in CUDA Self Scatter

We call SelfVectorsCUDAScatterDevice::compute() per q-vector and copy over several arrays of data (e.g. scatter factors). Instead of deleting and re-creating this data on the GPU for every call, we could instead update the GPU-side buffers.