Fixed how vecmem::copy would set the size of a resizable vector.
Using the "main copy type" was a mistake, since here we always perform a copy from a variable that's sitting on the host stack. We just never tried to perform a copy into a resizable host vector from a CUDA buffer before. :confused:
I came across this while performing tests for #246.
Fixed how
vecmem::copy
would set the size of a resizable vector.Using the "main copy type" was a mistake, since here we always perform a copy from a variable that's sitting on the host stack. We just never tried to perform a copy into a resizable host vector from a CUDA buffer before. :confused:
I came across this while performing tests for #246.