You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2021/10/19 11:33:00 UTC
[jira] [Updated] (ARROW-14361) [C++] Define a DEFAULT value for
ARROW_SIMD_LEVEL
[ https://issues.apache.org/jira/browse/ARROW-14361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Szucs updated ARROW-14361:
------------------------------------
Summary: [C++] Define a DEFAULT value for ARROW_SIMD_LEVEL (was: [C++] Define a MAX default value for ARROW_SIMD_LEVEL)
> [C++] Define a DEFAULT value for ARROW_SIMD_LEVEL
> -------------------------------------------------
>
> Key: ARROW-14361
> URL: https://issues.apache.org/jira/browse/ARROW-14361
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Krisztian Szucs
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 6.0.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> In order to enable {{ARROW_HAVE_NEON}} CMake flag on ARM architectures {{ARROW_SIMD_LEVEL}} option must be set to not {{"NONE"}}, see https://github.com/apache/arrow/blob/master/cpp/cmake_modules/SetupCxxFlags.cmake#L444
> The default value for {{ARROW_SIMD_LEVEL}} is {{SSE4_2}} which is a bit misleading on ARM64, it should rather be {{NEON}} which is not listed as a valid option for {{ARROW_SIMD_LEVEL}}. We may have a {{"MAX"}} default value similarly to the {{ARROW_RUNTIME_SIMD_LEVEL}} option, see https://github.com/apache/arrow/blob/master/cpp/cmake_modules/DefineOptions.cmake#L115
> Original github comment: https://github.com/apache/arrow/pull/11433#discussion_r729852835
> cc [~yibocai] [~apitrou]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)