fix: add missing & for CudaView in gpu_per_integration_test memcpy_dtoh
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -315,7 +315,7 @@ fn test_gpu_per_ring_buffer_overwrites_correctly() {
|
||||
|
||||
// Download u32 indices to host for range validation
|
||||
let mut indices_host = vec![0_u32; 20];
|
||||
stream.memcpy_dtoh(buf.sample_indices_ref(), &mut indices_host).unwrap();
|
||||
stream.memcpy_dtoh(&buf.sample_indices_ref(), &mut indices_host).unwrap();
|
||||
|
||||
let idx_min = *indices_host.iter().min().unwrap();
|
||||
let idx_max = *indices_host.iter().max().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user