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) {
93
93
namespace native {
94
94
95
95
// 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.
96
98
template <typename T>
97
99
inline __SYCL_ALWAYS_INLINE
98
100
sycl::detail::enable_if_t <sycl::detail::is_svgenfloatf<T>::value ||
@@ -140,6 +142,8 @@ tanh(sycl::marray<T, N> x) __NOEXC {
140
142
}
141
143
142
144
// 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.
143
147
template <typename T>
144
148
inline __SYCL_ALWAYS_INLINE
145
149
sycl::detail::enable_if_t <sycl::detail::is_svgenfloath<T>::value, T>
You can’t perform that action at this time.
0 commit comments