Skip to content

Commit 7b7bb9a

Browse files
committed
fix: add RANX_DEVICE_CODE macro to no_init constructor for device compatibility
1 parent bf83be6 commit 7b7bb9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ranx.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class no_init
5151
"should be a fundamental type");
5252
public:
5353
// constructor without initialization
54+
RANX_DEVICE_CODE
5455
no_init () noexcept {}
5556
// implicit conversion T → no_init<T>
5657
RANX_DEVICE_CODE

0 commit comments

Comments
 (0)