We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8eab04b + e0aea28 commit 1595dceCopy full SHA for 1595dce
dpctl/tensor/libtensor/include/kernels/elementwise_functions/expm1.hpp
@@ -115,7 +115,10 @@ template <typename argT, typename resT> struct Expm1Functor
115
116
// x, y finite numbers
117
realT cosY_val;
118
- const realT sinY_val = sycl::sincos(y, &cosY_val);
+ auto cosY_val_multi_ptr = sycl::address_space_cast<
119
+ sycl::access::address_space::global_space,
120
+ sycl::access::decorated::yes>(&cosY_val);
121
+ const realT sinY_val = sycl::sincos(y, cosY_val_multi_ptr);
122
const realT sinhalfY_val = std::sin(y / 2);
123
124
const realT res_re =
0 commit comments