You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/08/12 17:30:00 UTC

[jira] [Closed] (ARROW-9668) [C++]Got AVX512 method compiled in, but AVX512 instructions is not supported

     [ https://issues.apache.org/jira/browse/ARROW-9668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney closed ARROW-9668.
-------------------------------

> [C++]Got AVX512 method compiled in, but AVX512 instructions is not supported
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-9668
>                 URL: https://issues.apache.org/jira/browse/ARROW-9668
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>         Environment: Centos, c++ (GCC) 7.4.0
>            Reporter: Dongxiao Song
>            Priority: Major
>
> When using garrow_numeric_array_compare() to compare arrow array, I got 
>  arrow::compute::aggregate::AddSumAvx512AggKernels()  called.
> But my compute doesn't support avx512 instructions set, so it crashed and reported:
> Program terminated with signal 4, Illegal instruction.
> #0  0x00007efc082fe1d7 in arrow::compute::aggregate::AddSumAvx512AggKernels(arrow::compute::ScalarAggregateFunction*) () from /usr/local/lib64/libarrow.so.200
>  
> Is this a bug?
> I found that  CXX_SUPPORTS_AVX512 flag is decided by whether compiler could compile with
> -march=skylake-avx512 -mbmi2. In my opinion, these options is just tell the compiler try to compile with avx512, if not supported, it doesn't complain anything.



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