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 3fba940 commit 1572f45Copy full SHA for 1572f45
src/device/random.jl
@@ -63,6 +63,8 @@ end
63
@inline Philox2x32() = Philox2x32{7}()
64
65
@inline function Base.getproperty(rng::Philox2x32, field::Symbol)
66
+ threadId = threadIdx().x + (threadIdx().y - 1i32) * blockDim().x +
67
+ (threadIdx().z - 1i32) * blockDim().x * blockDim().y
68
warpId = (threadId - 1i32) >> 0x5 + 1i32 # fld1
69
70
if field === :key
0 commit comments