List of Examples

| Table of Contents | List of Figures | List of Examples | List of Tables | List of Procedures |

Example 2-1. Simple Parallel Loop
Example 2-2. Serial Loop
Example 2-3. Fused Loop
Example 2-4. Eliminated Loop
Example 2-5. Unparallelizable Carried Data Dependence
Example 2-6. Parallelizable Carried Data Dependence
Example 2-7. Multi-line Data Dependence
Example 2-8. Reduction
Example 2-9. Input/Output Operation
Example 2-10. Unstructured Control Flow
Example 2-11. Unparallelizable Loop With Subroutine Call
Example 2-12. Parallelizable Loop With Subroutine Call
Example 2-13. Unparallelizable Loop With Permutation Vector
Example 2-14. Parallelizable Loop With Permutation Vector
Example 2-15. Doubly Nested Loop
Example 2-16. Interchanged Doubly Nested Loop
Example 2-17. Triply Nested Loop With Interchange
Example 2-18. Explicitly Parallelized Loop Using C$OMP DO
Example 2-19. Loops Using C$OMP BARRIER
Example 2-20. Critical Section Using C$OMP CRITICAL
Example 2-21. Single-Process Section Using C$OMP SINGLE
Example 2-22. Parallel Sections Using C$OMP SECTIONS
Example 2-23. Distributed Array Using C$SGI DISTRIBUTE
Example 2-24. Distributed and Reshaped Array Using C$SGI DISTRIBUTE_RESHAPE
Example 2-25. Prefetching Data From Cache Using C*$* PREFETCH_REF
Example 4-1. C: simple parallel loop
Example 4-2. C: serial loop
Example 4-3. C: explicitly parallelized loop
Example 4-4. C: fused loops
Example 4-5. C: eliminated loop
Example 4-6. C: nested loop
Example 4-7. C: doubly nested loop
Example 4-8. C: triple nested loop
Example 4-9. C: explicitly parallelized loops
Example 4-10. C: loops with barriers
Example 4-11. C: critical sections
Example 4-12. C: single process sections
Example 4-13. C: parallel sections
Example 4-14. C: distributed arrays
Example 4-15. C: distributed and reshaped arrays
Example 4-16. C: prefetching data from cache
Example A-1. Explicitly Parallelized Loop Using C$PAR PDO
Example A-2. Loops Using C$PAR BARRIER
Example A-3. Critical Section Using C$PAR CRITICAL SECTION
Example A-4. Single-Process Section Using C$PAR SINGLE PROCESS
Example A-5. Parallel Section Using C$PAR PSECTIONS