Geeks3D Forums

Please login or register.

Login with username, password and session length

Author Topic: NVIDIA 11 Tips for Maximizing Performance with PGI Directives in Fortran  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2380
    • View Profile

11 Tips for Maximizing Performance with PGI Directives in Fortran 
 

List of Tricks

1. Privatize Arrays 

2. Make While Loops Parallelizable 

3. Rectangles Are Better Than Triangles 

4. Restructure Linearized Arrays with Computed Indices 

5. Privatize Live-out Scalars 

6. Inline Function Calls in Directive Regions 

7. Watch for Runtime Device Errors   

8. Be Aware of Data Movement 

9. Use Directive Clause to Optimize Performance 

10. Use Data Regions to Avoid Inefficiencies 

11. Leave Data on GPU Across Procedure Boundaries 
Logged