You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "cyb70289 (via GitHub)" <gi...@apache.org> on 2023/02/22 02:43:16 UTC

[GitHub] [arrow] cyb70289 commented on issue #34268: [Python] Pyarrow throw illegal instruction immediately on import on some hardware platforms.

cyb70289 commented on issue #34268:
URL: https://github.com/apache/arrow/issues/34268#issuecomment-1439359645

   The runtime detection and environment variables are to choose **explicit** SIMD optimization code, as this [example](https://github.com/apache/arrow/blob/main/cpp/src/arrow/compute/exec/bloom_filter_avx2.cc).
   
   Arrow is built with compiler (gcc, clang) option `-msse4.2` on x86 by default. With this option on, compiler may generate SSE code for any `cpp` source file, not only the explicit SIMD code.
   
   Looks we should improve the document to explain this "illegal instruction" issue. I did saw it some times.
   
   cc @pitrou 


-- 
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: github-unsubscribe@arrow.apache.org

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