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.
1 parent 0c03238 commit 82f393cCopy full SHA for 82f393c
include/oneapi/mkl/rng/device/detail/mcg59_impl.hpp
@@ -197,10 +197,10 @@ class engine_base<oneapi::mkl::rng::device::mcg59<VecSize>> {
197
auto uni_res2 = mcg59_impl::generate(this->state_);
198
199
if constexpr (VecSize == 1) {
200
- uni_res1 >>= 27;
201
- uni_res2 >>= 27;
+ uni_res1 >>= UIntType(27);
+ uni_res2 >>= UIntType(27);
202
203
- return (uni_res2 << 32) + uni_res1;
+ return (uni_res2 << UIntType(32)) + uni_res1;
204
}
205
else {
206
sycl::vec<std::uint64_t, VecSize> vec_out;
0 commit comments