Redop: convert const to constexpr
Change the declaration of the REDOP_ID
in the reductions to be constexpr
instead of const
.
Why: since the static
variables are not declared outside or constexpr
we cannot odr-use them.
Change the declaration of the REDOP_ID
in the reductions to be constexpr
instead of const
.
Why: since the static
variables are not declared outside or constexpr
we cannot odr-use them.