[
https://issues.apache.org/jira/browse/ARROW-9668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongxiao Song updated ARROW-9668:
---------------------------------
Summary: [C++]Got AVX512 method compiled in, but AVX512 instructions is not
supported (was: Got AVX512 method compiled in, but AVX512 instructions is not
supported)
> [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)