From 2452c39c6a35cf2ec02d36dd7cc4761b0bc87d5c Mon Sep 17 00:00:00 2001 From: Alexander Droste Date: Mon, 2 Mar 2026 16:42:42 +0000 Subject: [PATCH] fix: cuda bitpacking bench build Signed-off-by: Alexander Droste --- vortex-cuda/benches/bitpacked_cuda.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vortex-cuda/benches/bitpacked_cuda.rs b/vortex-cuda/benches/bitpacked_cuda.rs index 51a98337d7d..ef271fbaf80 100644 --- a/vortex-cuda/benches/bitpacked_cuda.rs +++ b/vortex-cuda/benches/bitpacked_cuda.rs @@ -94,8 +94,8 @@ where }) .collect(); - let primitive_array = PrimitiveArray::new(Buffer::from(values), NonNullable); - BitPackedArray::encode(primitive_array.as_ref(), bit_width) + let primitive_array = PrimitiveArray::new(Buffer::from(values), NonNullable).to_array(); + BitPackedArray::encode(&primitive_array, bit_width) .vortex_expect("failed to create BitPacked array with patches") }