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:
jgrusewski
2026-04-04 01:15:35 +02:00
parent a0f104514a
commit befec4db16

View File

@@ -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();