HOME
| OPENMP API Specification: Version 5.1 November 2020

5.3.12  Return Code Types

Summary The ompd_rc_t type is the return code type of an OMPD operation.

Format

SVG-Viewer needed.

 

 
typedef enum ompd_rc_t { 
  ompd_rc_ok                   = 0, 
  ompd_rc_unavailable          = 1, 
  ompd_rc_stale_handle         = 2, 
  ompd_rc_bad_input            = 3, 
  ompd_rc_error                = 4, 
  ompd_rc_unsupported          = 5, 
  ompd_rc_needs_state_tracking = 6,  
 
  ompd_rc_incompatible         = 7, 
  ompd_rc_device_read_error    = 8, 
  ompd_rc_device_write_error   = 9, 
  ompd_rc_nomem                = 10, 
  ompd_rc_incomplete           = 11, 
  ompd_rc_callback_error       = 12 
} ompd_rc_t;  

SVG-Viewer needed.

Description The ompd_rc_t type is used for the return codes of OMPD operations. The return code types and their semantics are defined as follows: