Skip to content

Commit 72f0e68

Browse files
Add missing device flags to some philox methods
1 parent 92dc12a commit 72f0e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/openrand/philox.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ class Philox : public BaseRNG<Philox> {
8686
}
8787
}
8888

89-
openrand::uint4 draw_int4() {
89+
OPENRAND_DEVICE openrand::uint4 draw_int4() {
9090
generate();
9191
return openrand::uint4{_out[0], _out[1], _out[2], _out[3]};
9292
}
9393

94-
openrand::float4 draw_float4() {
94+
OPENRAND_DEVICE openrand::float4 draw_float4() {
9595
generate();
9696
return openrand::float4{
9797
u01<float, uint32_t>(_out[0]), u01<float, uint32_t>(_out[1]),

0 commit comments

Comments
 (0)