diff --git a/crates/ml/tests/gpu_per_integration_test.rs b/crates/ml/tests/gpu_per_integration_test.rs index 148cff5ec..3866713fb 100644 --- a/crates/ml/tests/gpu_per_integration_test.rs +++ b/crates/ml/tests/gpu_per_integration_test.rs @@ -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();