File tree Expand file tree Collapse file tree
vortex-cuda/src/kernel/encodings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,18 +18,15 @@ use vortex::array::match_each_integer_ptype;
1818use vortex:: dtype:: NativePType ;
1919use vortex:: encodings:: fastlanes:: BitPacked ;
2020use vortex:: encodings:: fastlanes:: BitPackedArray ;
21- use vortex:: encodings:: fastlanes:: BitPackedArrayExt ;
2221use vortex:: encodings:: fastlanes:: BitPackedDataParts ;
2322use vortex:: encodings:: fastlanes:: unpack_iter:: BitPacked as BitPackedUnpack ;
2423use vortex:: error:: VortexResult ;
2524use vortex:: error:: vortex_ensure;
2625use vortex:: error:: vortex_err;
27- use vortex_array:: patches:: Patches ;
2826use vortex_error:: vortex_bail;
2927
3028use crate :: CudaBufferExt ;
3129use crate :: CudaDeviceBuffer ;
32- use crate :: executor:: CudaArrayExt ;
3330use crate :: executor:: CudaExecute ;
3431use crate :: executor:: CudaExecutionCtx ;
3532use crate :: kernel:: patches:: gpu:: GPUPatches ;
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ use vortex::array::match_each_integer_ptype;
1818use vortex:: array:: match_each_native_simd_ptype;
1919use vortex:: dtype:: NativePType ;
2020use vortex:: encodings:: fastlanes:: BitPacked ;
21- use vortex:: encodings:: fastlanes:: BitPackedArrayExt ;
2221use vortex:: encodings:: fastlanes:: FoR ;
2322use vortex:: encodings:: fastlanes:: FoRArray ;
2423use vortex:: encodings:: fastlanes:: FoRArrayExt ;
Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ impl CudaExecute for PatchedExecutor {
9898 bitpacked. into_owned( ) ,
9999 P :: default ( ) ,
100100 Some ( DevicePatches {
101- lane_offsets,
102- indices: patch_indices,
103- values: patch_values,
101+ lane_offsets: ctx . ensure_on_device ( lane_offsets ) . await ? ,
102+ indices: ctx . ensure_on_device ( patch_indices) . await ? ,
103+ values: ctx . ensure_on_device ( patch_values) . await ? ,
104104 } ) ,
105105 ctx,
106106 )
You can’t perform that action at this time.
0 commit comments