@@ -578,7 +578,7 @@ mod tests {
578578 . collect ( ) ;
579579
580580 let bitpacked = bitpacked_array_u32 ( bit_width, len) ;
581- let mut cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
581+ let cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
582582 let packed = bitpacked. packed ( ) . clone ( ) ;
583583 let device_input = futures:: executor:: block_on ( cuda_ctx. ensure_on_device ( packed) ) ?;
584584 let input_ptr = device_input. cuda_device_ptr ( ) ?;
@@ -689,7 +689,7 @@ mod tests {
689689 } )
690690 . collect ( ) ;
691691
692- let mut cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
692+ let cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
693693 let ( input_ptr, _di) = copy_raw_to_device ( & cuda_ctx, & data) ?;
694694
695695 let plan = CudaDispatchPlan :: new (
@@ -1865,7 +1865,7 @@ mod tests {
18651865 /// (the bit-pattern for i32(-1)), not u32(0x000000FF) = 255.
18661866 #[ crate :: test]
18671867 fn test_load_element_sign_extends_i8_to_u32 ( ) -> VortexResult < ( ) > {
1868- let mut cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
1868+ let cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
18691869
18701870 let i8_values: Vec < i8 > = vec ! [ -1 , -2 , -3 , 127 , -128 , 0 , 1 , 42 ] ;
18711871 let len = i8_values. len ( ) ;
@@ -1898,7 +1898,7 @@ mod tests {
18981898 /// Same as above but for i16 → u32 widening.
18991899 #[ crate :: test]
19001900 fn test_load_element_sign_extends_i16_to_u32 ( ) -> VortexResult < ( ) > {
1901- let mut cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
1901+ let cuda_ctx = CudaSession :: create_execution_ctx ( & VortexSession :: empty ( ) ) ?;
19021902
19031903 let i16_values: Vec < i16 > = vec ! [ -1 , -256 , -32768 , 32767 , 0 , 1 , -100 , 12345 ] ;
19041904 let len = i16_values. len ( ) ;
0 commit comments