Skip to content

Commit 127766a

Browse files
committed
performance-no-int-to-ptr
1 parent 0661473 commit 127766a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcudacxx/include/cuda/__stream/invalid_stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ _CCCL_GLOBAL_CONSTANT invalid_stream_t invalid_stream{};
3535

3636
[[nodiscard]] _CCCL_API _CCCL_FORCEINLINE ::cudaStream_t __invalid_stream() noexcept
3737
{
38-
return reinterpret_cast<::cudaStream_t>(~0ull);
38+
return ::cudaStream_t{};
3939
}
4040

4141
_CCCL_END_NAMESPACE_CUDA

0 commit comments

Comments
 (0)