Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • gpu_offloading gpu_offloading
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Okke van Eck
  • gpu_offloadinggpu_offloading
  • Wiki
  • 1.c. OpenMP directives

1.c. OpenMP directives · Changes

Page history
Update 1.c. OpenMP directives authored Oct 30, 2023 by Okke van Eck's avatar Okke van Eck
Hide whitespace changes
Inline Side-by-side
1.c.-OpenMP-directives.md
View page @ ba64c2cd
...@@ -29,20 +29,12 @@ Within the group of memory operations, some operate on a single kernel while oth ...@@ -29,20 +29,12 @@ Within the group of memory operations, some operate on a single kernel while oth
These directives can be used for invoking GPU memory operations for a single kernel. These directives can be used for invoking GPU memory operations for a single kernel.
**map([\<var\>])** | Directive | Description |
Maps a variable to and from host. |:---------:|:------------|
| map([\<var\>]) | Maps a variable from host and back after the kernel finishes. |
**map(from:[\<var\>])** | map(from:[\<var\>]) | Maps a variable from host. |
Maps a variable from host. | map(fromto:[\<var\>]) | Maps a variable from host and back after the kernel finishes. |
| map(alloc:[\<var\>] | Allocate space for the variable on device, but do not copy anything. |
**map(to:[\<var\>])**
Maps a variable to host after the kernel finishes.
**map(fromto:[\<var\>])**
Maps a variable from host and back after the kernel finishes.
**map(alloc:[\<var\>])**
Allocate space for the variable on device, but do not copy anything.
### Allocative memory operations ### Allocative memory operations
......
Clone repository
  • 0. Sources
  • 0.a. Documentation & Manuals
  • 0.b. Slides
  • 0.c. Papers
  • 0.d. Misc
  • 1. Offloading process
  • 1.a. Supercomputers
  • 1.b. Compilers
  • 1.c. OpenMP directives
  • 1.d. Profiling & Debugging
  • 1.e Performance hazards
  • 2. Nemo standalone
  • 3. Tools
  • 3.a. Intel Offload Advisor & Intel VTune
  • 3.b. CPU and GPU performance overview
View All Pages