Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10015

[Rust] Implement SIMD for aggregate kernel sum

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Rust

    Description

      Currently, our aggregations are made in a simple loop. However, as described here, 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. 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.

       

      Attachments

        Issue Links

          Activity

            People

              jhorstmann Jörn Horstmann
              jorgecarleitao Jorge Leitão
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h