HOME
| OPENMP API Specification: Version 5.1 November 2020

2.5.3  nothing Directive

Summary The nothing directive has no effect. It can be used in a metadirective and other contexts to indicate explicitly that the intent is to have no effect on the execution of the OpenMP program. The nothing directive is a utility directive.

Syntax

SVG-Viewer needed.

The syntax of the nothing directive is as follows:  

 
#pragma omp nothing new-line  

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the nothing directive is as follows:  

 
!$omp nothing  

SVG-Viewer needed.

Description The nothing directive has no effect on the execution of the OpenMP program.

Cross References