Skip to content

Commit ba53919

Browse files
committed
lockfiles
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent de0277b commit ba53919

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

encodings/fastlanes/public-api.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ impl vortex_array::arrays::filter::kernel::FilterKernel for vortex_fastlanes::Bi
138138

139139
pub fn vortex_fastlanes::BitPacked::filter(array: &vortex_fastlanes::BitPackedArray, mask: &vortex_mask::Mask, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult<core::option::Option<vortex_array::array::ArrayRef>>
140140

141-
impl vortex_array::arrays::slice::SliceKernel for vortex_fastlanes::BitPacked
141+
impl vortex_array::arrays::slice::SliceReduce for vortex_fastlanes::BitPacked
142142

143-
pub fn vortex_fastlanes::BitPacked::slice(array: &vortex_fastlanes::BitPackedArray, range: core::ops::range::Range<usize>, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult<core::option::Option<vortex_array::array::ArrayRef>>
143+
pub fn vortex_fastlanes::BitPacked::slice(array: &vortex_fastlanes::BitPackedArray, range: core::ops::range::Range<usize>) -> vortex_error::VortexResult<core::option::Option<vortex_array::array::ArrayRef>>
144144

145145
impl vortex_array::scalar_fn::fns::cast::kernel::CastReduce for vortex_fastlanes::BitPacked
146146

vortex-cuda/src/kernel/encodings/bitpacked.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,12 +517,8 @@ mod tests {
517517

518518
let bitpacked_array = BitPackedArray::encode(&primitive_array.into_array(), bit_width)
519519
.vortex_expect("operation should succeed in test");
520-
let slice_ref = bitpacked_array.clone().into_array().slice(67..3969)?;
521-
let bitpacked_ref = bitpacked_array.into_array();
522-
let sliced_array = bitpacked_ref
523-
.vtable()
524-
.reduce_parent(&bitpacked_ref, &slice_ref, 0)?
525-
.expect("expected slice kernel to execute");
520+
let sliced_array = bitpacked_array.into_array().slice(67..3969)?;
521+
assert!(sliced_array.is::<BitPacked>());
526522
let cpu_result = sliced_array.to_canonical()?;
527523
let gpu_result = block_on(async {
528524
BitPackedExecutor

0 commit comments

Comments
 (0)