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 b7d5417 commit 787b48bCopy full SHA for 787b48b
libcudacxx/include/cuda/__random/pcg_engine.h
@@ -138,7 +138,7 @@ class __pcg_uint128_fallback
138
139
_CCCL_API constexpr bool operator>(int __x) const noexcept
140
{
141
- return __hi_ != 0 || __lo_ > 0;
+ return __hi_ != 0 || __lo_ > static_cast<::cuda::std::uint64_t>(__x);
142
}
143
144
_CCCL_API constexpr friend bool operator==(__pcg_uint128_fallback __lhs, __pcg_uint128_fallback __rhs) noexcept
0 commit comments