LLVM OpenMP 19.0.0git
Enumerations | Functions | Variables
omp_target_offload.c File Reference
#include <string.h>
#include <stdlib.h>

Go to the source code of this file.

Enumerations

enum  kmp_target_offload_kind {
  tgt_disabled = 0 , tgt_default = 1 , tgt_mandatory = 2 , tgt_disabled = 0 ,
  tgt_default = 1 , tgt_mandatory = 2
}
 

Functions

int __kmpc_get_target_offload ()
 
void kmp_set_defaults (char const *str)
 
int get_target_offload_icv ()
 
int main ()
 

Variables

const chardisabled_examples []
 
const chardefault_examples []
 
const charmandatory_examples []
 

Enumeration Type Documentation

◆ kmp_target_offload_kind

Enumerator
tgt_disabled 
tgt_default 
tgt_mandatory 
tgt_disabled 
tgt_default 
tgt_mandatory 

Definition at line 5 of file omp_target_offload.c.

Function Documentation

◆ __kmpc_get_target_offload()

int __kmpc_get_target_offload ( )

Definition at line 4474 of file kmp_csupport.cpp.

Referenced by get_target_offload_icv().

◆ get_target_offload_icv()

int get_target_offload_icv ( )

Definition at line 29 of file omp_target_offload.c.

References __kmpc_get_target_offload().

Referenced by main().

◆ kmp_set_defaults()

void kmp_set_defaults ( char const *  str)

Definition at line 142 of file kmp_stub.cpp.

References i.

◆ main()

int main ( void  )

Variable Documentation

◆ default_examples

const char* default_examples[]
Initial value:
= {
"default", "DEFAULT", "Default", "deFAulT", "DEfaULt",
"mandatry", "defaults", "disable", "enabled", "mandatorynot"}

Definition at line 18 of file omp_target_offload.c.

Referenced by main().

◆ disabled_examples

const char* disabled_examples[]
Initial value:
= {
"disabled", "DISABLED", "Disabled", "dIsAbLeD", "DiSaBlEd"}

Definition at line 14 of file omp_target_offload.c.

Referenced by main().

◆ mandatory_examples

const char* mandatory_examples[]
Initial value:
= {
"mandatory", "MANDATORY", "Mandatory", "manDatoRy", "MANdATOry"}

Definition at line 24 of file omp_target_offload.c.

Referenced by main().