Skip to content

Commit

Permalink
Add information that @batch waits to docstring
Browse files Browse the repository at this point in the history
Fixes #150
  • Loading branch information
Socob committed Oct 2, 2024
1 parent efea56f commit 262ab9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/closure.jl
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,8 @@ end
"""
@batch for i in Iter; ...; end
Evaluate the loop on multiple threads.
Evaluate the loop on multiple threads. The execution of the loop waits for the evaluation
of all iterations.
@batch minbatch=N for i in Iter; ...; end
Expand Down

0 comments on commit 262ab9d

Please sign in to comment.