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
This is a good, recommended practice.
Moved global definition of namespaces td_ns and su_ns in reductions.hpp
into namespace.
Fixed resulting build breakage by including needed headers and defining
those namespaces locally in affected files.
Changed definition of logaddexp in math_utils to use selector instead
of if/else branches to improve performance. Switch revealed silent
inefficiency from using std::log1p for all types (for sycl::half it
would silently upcast to float and evaluate std::log1p<float>(sycl::half)).
Used `if constexpr` to use sycl::log1p for half and single FP types.
For double, use std::log1p until the issue is fixed.
0 commit comments