File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
sycl/include/sycl/ext/oneapi/experimental Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ int printf(const FormatT *__format, Args... args) {
9393namespace native {
9494
9595// genfloatfh tanh (genfloatfh x)
96+ // sycl::native::tanh is only implemented on nvptx backend so far. For other
97+ // backends we revert to the sycl::tanh impl.
9698template <typename T>
9799inline __SYCL_ALWAYS_INLINE
98100 sycl::detail::enable_if_t <sycl::detail::is_svgenfloatf<T>::value ||
@@ -140,6 +142,8 @@ tanh(sycl::marray<T, N> x) __NOEXC {
140142}
141143
142144// genfloath exp2 (genfloath x)
145+ // sycl::native::exp2 (using half) is only implemented on nvptx backend so far.
146+ // For other backends we revert to the sycl::exp2 impl.
143147template <typename T>
144148inline __SYCL_ALWAYS_INLINE
145149 sycl::detail::enable_if_t <sycl::detail::is_svgenfloath<T>::value, T>
You can’t perform that action at this time.
0 commit comments