Skip to content

Commit 769a380

Browse files
committed
disable SIMD take
Signed-off-by: Connor Tsui <[email protected]>
1 parent c856a4c commit 769a380

File tree

1 file changed

+5
-0
lines changed
  • vortex-compute/src/take/slice

1 file changed

+5
-0
lines changed

vortex-compute/src/take/slice/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ impl<T: Copy, I: UnsignedPType> Take<[I]> for &[T] {
1616
type Output = Buffer<T>;
1717

1818
fn take(self, indices: &[I]) -> Buffer<T> {
19+
// TODO(connor): Make the SIMD implementations bound by `Copy` instead of `NativePType`.
20+
/*
21+
1922
#[cfg(vortex_nightly)]
2023
{
2124
return portable::take_portable(self, indices);
@@ -29,6 +32,8 @@ impl<T: Copy, I: UnsignedPType> Take<[I]> for &[T] {
2932
}
3033
}
3134
35+
*/
36+
3237
#[allow(unreachable_code, reason = "`vortex_nightly` path returns early")]
3338
take_scalar(self, indices)
3439
}

0 commit comments

Comments
 (0)