Zilu Wang, Steve Lantz
Cornell Center for Advanced Computing

4/2026 (original)

In addition to the offload and data mapping directives, we cover important directives and clauses that an efficient OpenMP program will certainly use.

Objectives

After you complete this topic, you should be able to:

  • Compile functions for the device with declare target
  • Set up asynchronous offloading and data transfer with the nowait clause
Prerequisites
  • A working knowledge of general programming concepts
  • A working knowledge of Linux; otherwise, try working through the Linux topic first
  • Ability to program in a high-level language such as Fortran or C
  • A basic familiarity with parallel programming concepts and OpenMP
 
©  |   Cornell University    |   Center for Advanced Computing    |   Copyright Statement    |   Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)