|
Equation Solution High Performance by Design |
|||||||
|
|
|||||||
|
Function nlp$syncloop
SYNTAX
call nlp$syncloop_?(sub,start,stop,step,a_1,a_2,...)
where
sub -- the do-subroutine
start -- the initial value of do variable
stop -- the terminating bound of do variable
step -- the increment or the decrement of do variable.
a_1, a_2,... -- arguments to subroutine sub
the symbol ? -- number of arguments
For example, to dispatch the following loop
do i = start, stop, step
call sub(i,a,b)
end do
sub( i, a, b)
| | | |
↓ ↓ ↓ ↓
sub start,stop,step a b
call nlp$syncloop_6(sub,start,stop,step,a b) PURPOSE This function dispatches a loop to soft cores, and blocks itself until the jobs dispatched to soft cores are complete. For example, if an application has the following statements call nlp$loop_5(sub_1,,,,) call nlp$loop_9(sub_2,,,,) call nlp$syncloop_11(sub_3,,,,) neuLoop provides the following 52 nlp$syncloop functions to dispatch loops:
nlp$syncloop_4
nlp$syncloop_5
... ... ...
nlp$syncloop_54
nlp$syncloop_55
|
||||||