You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge (Jira)" <ji...@apache.org> on 2020/09/15 13:58:00 UTC

[jira] [Created] (ARROW-10015) [Rust] Implement SIMD for aggregate kernel sum

Jorge created ARROW-10015:
-----------------------------

             Summary: [Rust] Implement SIMD for aggregate kernel sum
                 Key: ARROW-10015
                 URL: https://issues.apache.org/jira/browse/ARROW-10015
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust
            Reporter: Jorge


Currently, our aggregations are made in a simple loop. However, as described [here|https://rust-lang.github.io/packed_simd/perf-guide/vert-hor-ops.html], horizontal operations can also be SIMDed, reports of 2.7x speedups.

The goal of this improvement is to support SIMD for the "sum", for primitive types.

The code to modify is in [here|https://github.com/apache/arrow/blob/master/rust/arrow/src/compute/kernels/aggregate.rs]. A good indication that this issue is completed is when the script

{{cargo bench --bench aggregate_kernels && cargo bench --bench aggregate_kernels --features simd}}

yields a speed-up.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)