You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the c++ compute component with gcc6/7 with std=c++14/17, compiler internal errors are triggered at compute/kernels/aggregate_internal.h:176:24 and various places at compute/kernels/scalar_set_lookup.cc
An easy fix is to capture levels and memo_size by value. {}Since they are ints, capturing by value is also a performace improvement{}. If there is no objection, I will submit a PR to fix this.
When compiling the c++ compute component with gcc6/7 with std=c++14/17, compiler internal errors are triggered at compute/kernels/aggregate_internal.h:176:24 and various places at compute/kernels/scalar_set_lookup.cc
This is a known bug of gcc6/7. It is triggered when a const integer is capture by reference in a lambda function, and is parenthesized in that lambda code. See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83204 and kokkos/kokkos-kernels#349
An easy fix is to capture levels and memo_size by value. {
}Since they are ints, capturing by value is also a performace improvement{}. If there is no objection, I will submit a PR to fix this.Environment: gcc6/7
c++14/17
Reporter: Jin Shang / @js8544
Assignee: Jin Shang / @js8544
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-17567. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: