felipecrv commented on issue #37830:
URL: https://github.com/apache/arrow/issues/37830#issuecomment-1732087600

   Manipulating the flags directly like this is not reliable.
   
   The best way to control SIMD is via the `ARROW_SIMD_LEVEL`. See 
https://arrow.apache.org/docs/cpp/env_vars.html#envvar-ARROW_USER_SIMD_LEVEL 
for the options.
   
    - `NONE` disables any runtime-selected SIMD optimization;
    - `SSE4_2` enables any SSE2-based optimizations until SSE4.2 (included);
    - `AVX` enables any AVX-based optimizations and earlier;
    - `AVX2` enables any AVX2-based optimizations and earlier;
    - `AVX512` enables any AVX512-based optimizations and earlier.


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

Reply via email to