Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction to OpenMP offload #19

Open
lucaparisi91 opened this issue Aug 15, 2024 · 4 comments
Open

Introduction to OpenMP offload #19

lucaparisi91 opened this issue Aug 15, 2024 · 4 comments
Assignees
Labels

Comments

@lucaparisi91
Copy link
Collaborator

lucaparisi91 commented Aug 15, 2024

Base material at OpenMPTargetOffload.ppt and IHPCSS___Introduction_to_OpenMP___GPUs.pdf

  • OpenMP programming model ( generic model [ fork-join model ] vs CUDA model where threads are always active ) . See Advanced Topics #20 .
  • shared , firstprivate, lastprivate clause
  • #pragma omp target : run on the gpu
  • #pragma omp teams : spread across blocks , num_teams clause , num_threads clause
  • # pragma omp parallel for
  • device clause : selection for the device
  • #pragma omp declare: run an external function
  • collapse : for nested parallelism
@mbareford mbareford self-assigned this Sep 26, 2024
@mbareford
Copy link

I'm currently putting together an Introduction to OpenMP Offload slide deck using the new EPCC presentation template.
Slides are based on the L08-offload presentation from the Advanced OpenMP course. Have converted the first 8 slides, another 14 to go.

After this will integrate material from Ludovic Capelli's summer school slides.

@mbareford
Copy link

Added "L1.3 Introduction to OpenMP Offload" powerpoint file to SharePoint.

@mbareford
Copy link

Waiting for review...

@lucaparisi91
Copy link
Collaborator Author

Material on loop directive was added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants