Skip to content

Commit 8c38a76

Browse files
committed
Add note about need to synchronize
1 parent a82b86b commit 8c38a76

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/intrinsics.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ localmemory(::Type{T}, dims) where {T} = localmemory(T, Val(dims))
192192
shfl_down(val::T, offset::Integer)::T where T
193193
194194
Read `val` from a lane with higher id given by `offset`.
195+
When writing kernels using this function, it should be
196+
assumed that it is not synchronized.
195197
196198
!!! note
197199
Backend implementations **must** implement:

0 commit comments

Comments
 (0)