Fix warning about null pointer being passed to memcpy
I'd use std::copy_n(), but that's a host-only function and the function being fixed is host/device, so I replace memcpy() with a simple for loop.
I'd use std::copy_n(), but that's a host-only function and the function being fixed is host/device, so I replace memcpy() with a simple for loop.
mentioned in commit 77fafeb4
·mentioned in commit 77fafeb4
mentioned in commit 97406a63
·mentioned in commit 97406a63
mentioned in merge request !769 (merged)
·