chiranmoyf opened a new pull request, #11045:
URL: https://github.com/apache/incubator-gluten/pull/11045

   <!--
   Thank you for submitting a pull request! Here are some tips:
   
   1. For first-time contributors, please read our contributing guide:
      https://github.com/apache/incubator-gluten/blob/main/CONTRIBUTING.md
   2. If necessary, create a GitHub issue for discussion beforehand to avoid 
duplicate work.
   3. If the PR is specific to a single backend, include [VL] or [CH] in the PR 
title to indicate the
      Velox or ClickHouse backend, respectively.
   4. If the PR is not ready for review, please mark it as a draft.
   -->
   
   ## What changes are proposed in this pull request?
   
   This commit introduces support for the Scalable Vector Extension (SVE) in 
SparkFloorFunction.
   
   ## How was this patch tested?
   
   We've used Google's microbenchmark `BM_SparkFloorFunction_For_Float64` to 
test the patch. The results are presented below.
   
   ```
   ./build_gcc/utils/extern-local-engine/tests/benchmark_local_engine 
--benchmark_filter="BM.*SparkFloor.*Float64"               
   
   # Before optimization (Scalar)
   ----------------------------------------------------------------------------
   Benchmark                                  Time             CPU   Iterations
   ----------------------------------------------------------------------------
   BM_SparkFloorFunction_For_Float64     79407 ns       79407 ns         8768
   
   # After optimization (SVE)
   ----------------------------------------------------------------------------
   Benchmark                                  Time             CPU   Iterations
   ----------------------------------------------------------------------------
   BM_SparkFloorFunction_For_Float64     40479 ns       40479 ns         17291
   
   ```
   We are getting around 2x performance improvement on AWS Graviton3 
(m7g.4xlarge).
   
   ## Note
   SVE detection and macros used here are enabled in Clickhouse. We are raising 
this PR as draft since the Clickhouse PR is under review. Here in the 
Clickhouse PR for reference - 
https://github.com/ClickHouse/ClickHouse/pull/85010


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to