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
I think #if 0 is not really better that the "runtime" check; it's still dead code. In some sense it's even worse, because now this code should at least compile without errors.
In principle, any "branching" is only needed if we expect the two code variants to coexist for some time in the future. In that case there should be a better condition check instead of "true/false", at least a named variable/macro.
If we do not expect the need to have two variants of the code and want to avoid dead code, I would just use comments.
oneDPL/include/oneapi/dpl/experimental/kt/single_pass_scan.h
Line 389 in 3382895
Probably better replace to
The text was updated successfully, but these errors were encountered: