The Loop Directive
The loop directive can replace distribute parallel for/do, allowing the compiler to control work distribution across teams and threads. The trade-off is that the implementation decides how iterations are distributed, rather than the programmer specifying it explicitly through the clauses of distribute and for/do.
The loop directive also works on the host as a shorthand for parallel for/do on the host.
©
|
Cornell University
|
Center for Advanced Computing
|
Copyright Statement
|
Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)