You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Aldrin Montana (Jira)" <ji...@apache.org> on 2022/09/01 23:07:00 UTC
[jira] [Updated] (ARROW-17598) [C++] Arrow io memory_benchmark does not compile if SIMD level is NEON
[ https://issues.apache.org/jira/browse/ARROW-17598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aldrin Montana updated ARROW-17598:
-----------------------------------
Description:
When compiling Arrow with the following parameter:
{code:bash}
-DARROW_BUILD_BENCHMARKS_REFERENCE="ON"
{code}
I get this error and other similar ones:
{code:bash}
cpp/src/arrow/io/memory_benchmark.cc:244:26: error: use of undeclared identifier 'Read'; did you mean 'read'?
using ApplyFn = decltype(Read);
{code}
The reason is that `memory_benchmark.cc` does not define the Read function, and others, if the SIMD level is NEON (`ARROW_HAVE_NEON` is true).
was:
When compiling Arrow with the following parameter:
```bash
-DARROW_BUILD_BENCHMARKS_REFERENCE="ON"
```
I get this error and other similar ones:
```bash
cpp/src/arrow/io/memory_benchmark.cc:244:26: error: use of undeclared identifier 'Read'; did you mean 'read'?
using ApplyFn = decltype(Read);
```
The reason is that `memory_benchmark.cc` does not define the Read function, and others, if the SIMD level is NEON (`ARROW_HAVE_NEON` is true).
> [C++] Arrow io memory_benchmark does not compile if SIMD level is NEON
> ----------------------------------------------------------------------
>
> Key: ARROW-17598
> URL: https://issues.apache.org/jira/browse/ARROW-17598
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Aldrin Montana
> Priority: Minor
>
> When compiling Arrow with the following parameter:
> {code:bash}
> -DARROW_BUILD_BENCHMARKS_REFERENCE="ON"
> {code}
> I get this error and other similar ones:
> {code:bash}
> cpp/src/arrow/io/memory_benchmark.cc:244:26: error: use of undeclared identifier 'Read'; did you mean 'read'?
> using ApplyFn = decltype(Read);
> {code}
>
> The reason is that `memory_benchmark.cc` does not define the Read function, and others, if the SIMD level is NEON (`ARROW_HAVE_NEON` is true).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)