Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17598

[C++] Arrow io memory_benchmark does not compile if SIMD level is NEON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 10.0.0
    • C++

    Description

      When compiling Arrow with the following parameter:

      -DARROW_BUILD_BENCHMARKS_REFERENCE="ON"
      

      I get this error and other similar ones:

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

      Attachments

        Issue Links

          Activity

            People

              octalene Aldrin Montana
              octalene Aldrin Montana
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h