You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/24 15:47:22 UTC

[GitHub] [arrow-rs] gangliao commented on a change in pull request #317: Add (simd) modulus op

gangliao commented on a change in pull request #317:
URL: https://github.com/apache/arrow-rs/pull/317#discussion_r638066603



##########
File path: arrow/src/compute/kernels/arithmetic.rs
##########
@@ -348,6 +444,40 @@ where
     Ok(PrimitiveArray::<T>::from(data))
 }
 
+/// SIMD vectorized implementation of `left % right`.
+/// If any of the lanes marked as valid in `valid_mask` are `0` then an `ArrowError::ModulusByZero`
+/// is returned. The contents of no-valid lanes are undefined.
+#[cfg(simd)]

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org