You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Aldrin Montana (Jira)" <ji...@apache.org> on 2022/09/01 23:03:00 UTC

[jira] [Created] (ARROW-17598) [C++] Arrow io memory_benchmark does not compile if SIMD level is NEON

Aldrin Montana created ARROW-17598:
--------------------------------------

             Summary: [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


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).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)