Getting Started with OpenACC - Part II

Getting Started with OpenACC - Part II

NVIDIA Developer via YouTube Direct link

Tips and Tricks (cont.)

21 of 21

21 of 21

Tips and Tricks (cont.)

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Getting Started with OpenACC - Part II

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Example: Jacobi Iteration
  3. 3 Jacobi Iteration: C Code
  4. 4 Jacobi Iteration: OpenACC C Code
  5. 5 PGI Accelerator Compiler output (C)
  6. 6 What went wrong? • Set PGI_ACC_TIME environment variable to '1'
  7. 7 Offloading a Parallel Kernel
  8. 8 Separating Data from Computation
  9. 9 Excessive Data Transfers
  10. 10 Defining data regions
  11. 11 Data Clauses copy (diet) Allocates memory on GPU and copies data from host to GPU when entering region and coples data to the
  12. 12 Array Shaping
  13. 13 Jacobi Iteration: Data Directives
  14. 14 Execution Time (lower is better)
  15. 15 Further speedups
  16. 16 Calling MPI with OpenACC (Standard MPI)
  17. 17 OpenACC update Directive
  18. 18 OpenACC host_data Directive
  19. 19 Calling MPI with OpenACC (GPU-aware MPI)
  20. 20 C tip: the restrict keyword
  21. 21 Tips and Tricks (cont.)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.