From befec4db16817308ca299081ec7cd73ac9bf80a7 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Sat, 4 Apr 2026 01:15:35 +0200 Subject: [PATCH] fix: add missing & for CudaView in gpu_per_integration_test memcpy_dtoh Co-Authored-By: Claude Opus 4.6 (1M context) --- crates/ml/tests/gpu_per_integration_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();