Skip to content

Commit c535eba

Browse files
committed
only use index within validlane
1 parent 01d498a commit c535eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ function emit_gpu(loop)
327327
return expr
328328
end
329329
loopexpr = quote
330-
$(loop.indicies...)
331330
if __active_lane__
331+
$(loop.indicies...)
332332
$(unblock(body))
333333
end
334334
end

0 commit comments

Comments
 (0)