LLVM OpenMP 22.0.0git
kmp_ftn_entry.h File Reference
#include "kmp_i18n.h"
#include "kmp_io.h"
#include "kmp_str.h"

Go to the source code of this file.

Classes

class  ConvertedString

Macros

#define KMP_DEREF   *
#define KMP_EXPAND_NAME_IF_APPEND(name)
#define omp_interop_none   0

Typedefs

typedef intptr_t omp_intptr_t
 TODO: Include the omp.h of the current build.
typedef enum omp_interop_property omp_interop_property_t
typedef enum omp_interop_rc omp_interop_rc_t
typedef enum omp_interop_fr omp_interop_fr_t
typedef voidomp_interop_t

Enumerations

enum  omp_interop_property {
  omp_ipr_fr_id = -1 , omp_ipr_fr_name = -2 , omp_ipr_vendor = -3 , omp_ipr_vendor_name = -4 ,
  omp_ipr_device_num = -5 , omp_ipr_platform = -6 , omp_ipr_device = -7 , omp_ipr_device_context = -8 ,
  omp_ipr_targetsync = -9 , omp_ipr_first = -9
}
enum  omp_interop_rc {
  omp_irc_no_value = 1 , omp_irc_success = 0 , omp_irc_empty = -1 , omp_irc_out_of_range = -2 ,
  omp_irc_type_int = -3 , omp_irc_type_ptr = -4 , omp_irc_type_str = -5 , omp_irc_other = -6
}
enum  omp_interop_fr {
  omp_ifr_cuda = 1 , omp_ifr_cuda_driver = 2 , omp_ifr_opencl = 3 , omp_ifr_sycl = 4 ,
  omp_ifr_hip = 5 , omp_ifr_level_zero = 6 , omp_ifr_last = 7
}

Functions

void FTN_STDCALL FTN_SET_STACKSIZE (int KMP_DEREF arg)
void FTN_STDCALL FTN_SET_STACKSIZE_S (size_t KMP_DEREF arg)
int FTN_STDCALL FTN_GET_STACKSIZE (void)
size_t FTN_STDCALL FTN_GET_STACKSIZE_S (void)
void FTN_STDCALL FTN_SET_BLOCKTIME (int KMP_DEREF arg)
int FTN_STDCALL FTN_GET_BLOCKTIME (void)
void FTN_STDCALL FTN_SET_LIBRARY_SERIAL (void)
void FTN_STDCALL FTN_SET_LIBRARY_TURNAROUND (void)
void FTN_STDCALL FTN_SET_LIBRARY_THROUGHPUT (void)
void FTN_STDCALL FTN_SET_LIBRARY (int KMP_DEREF arg)
int FTN_STDCALL FTN_GET_LIBRARY (void)
void FTN_STDCALL FTN_SET_DISP_NUM_BUFFERS (int KMP_DEREF arg)
int FTN_STDCALL FTN_SET_AFFINITY (void **mask)
int FTN_STDCALL FTN_GET_AFFINITY (void **mask)
int FTN_STDCALL FTN_GET_AFFINITY_MAX_PROC (void)
void FTN_STDCALL FTN_CREATE_AFFINITY_MASK (void **mask)
void FTN_STDCALL FTN_DESTROY_AFFINITY_MASK (void **mask)
int FTN_STDCALL FTN_SET_AFFINITY_MASK_PROC (int KMP_DEREF proc, void **mask)
int FTN_STDCALL FTN_UNSET_AFFINITY_MASK_PROC (int KMP_DEREF proc, void **mask)
int FTN_STDCALL FTN_GET_AFFINITY_MASK_PROC (int KMP_DEREF proc, void **mask)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_NUM_THREADS (int KMP_DEREF arg)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_THREADS (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_MAX_THREADS (void)
int FTN_STDCALL FTN_CONTROL_TOOL (int command, int modifier, void *arg)
omp_allocator_handle_t FTN_STDCALL FTN_INIT_ALLOCATOR (omp_memspace_handle_t KMP_DEREF m, int KMP_DEREF ntraits, omp_alloctrait_t tr[])
void FTN_STDCALL FTN_DESTROY_ALLOCATOR (omp_allocator_handle_t al)
void FTN_STDCALL FTN_SET_DEFAULT_ALLOCATOR (omp_allocator_handle_t al)
omp_allocator_handle_t FTN_STDCALL FTN_GET_DEFAULT_ALLOCATOR (void)
omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICES_MEMSPACE (int KMP_DEREF ndevs, const int *devs, omp_memspace_handle_t KMP_DEREF memspace)
omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICE_MEMSPACE (int KMP_DEREF dev, omp_memspace_handle_t KMP_DEREF memspace)
omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICES_AND_HOST_MEMSPACE (int KMP_DEREF ndevs, const int *devs, omp_memspace_handle_t KMP_DEREF memspace)
omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICE_AND_HOST_MEMSPACE (int KMP_DEREF dev, omp_memspace_handle_t KMP_DEREF memspace)
omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICES_ALL_MEMSPACE (omp_memspace_handle_t KMP_DEREF memspace)
omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICES_ALLOCATOR (int KMP_DEREF ndevs, const int *devs, omp_allocator_handle_t KMP_DEREF memspace)
omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICE_ALLOCATOR (int KMP_DEREF dev, omp_allocator_handle_t KMP_DEREF memspace)
omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICES_AND_HOST_ALLOCATOR (int KMP_DEREF ndevs, const int *devs, omp_allocator_handle_t KMP_DEREF memspace)
omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICE_AND_HOST_ALLOCATOR (int KMP_DEREF dev, omp_allocator_handle_t KMP_DEREF memspace)
omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICES_ALL_ALLOCATOR (omp_allocator_handle_t KMP_DEREF memspace)
int FTN_STDCALL FTN_GET_MEMSPACE_NUM_RESOURCES (omp_memspace_handle_t KMP_DEREF memspace)
omp_memspace_handle_t FTN_STDCALL FTN_GET_SUBMEMSPACE (omp_memspace_handle_t KMP_DEREF memspace, int KMP_DEREF num_resources, int *resources)
static void __kmp_fortran_strncpy_truncate (char *buffer, size_t buf_size, char const *csrc, size_t csrc_size)
void FTN_STDCALL KMP_EXPAND_NAME_IF_APPEND FTN_SET_AFFINITY_FORMAT (char const *format, size_t size)
size_t FTN_STDCALL KMP_EXPAND_NAME_IF_APPEND FTN_GET_AFFINITY_FORMAT (char *buffer, size_t size)
void FTN_STDCALL KMP_EXPAND_NAME_IF_APPEND FTN_DISPLAY_AFFINITY (char const *format, size_t size)
size_t FTN_STDCALL KMP_EXPAND_NAME_IF_APPEND FTN_CAPTURE_AFFINITY (char *buffer, char const *format, size_t buf_size, size_t for_size)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_THREAD_NUM (void)
int FTN_STDCALL FTN_GET_NUM_KNOWN_THREADS (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_PROCS (void)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_NESTED (int KMP_DEREF flag)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NESTED (void)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_DYNAMIC (int KMP_DEREF flag)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_DYNAMIC (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_IN_PARALLEL (void)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_SCHEDULE (kmp_sched_t KMP_DEREF kind, int KMP_DEREF modifier)
void FTN_STDCALL KMP_EXPAND_NAME FTN_GET_SCHEDULE (kmp_sched_t *kind, int *modifier)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_MAX_ACTIVE_LEVELS (int KMP_DEREF arg)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_MAX_ACTIVE_LEVELS (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_ACTIVE_LEVEL (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_LEVEL (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_ANCESTOR_THREAD_NUM (int KMP_DEREF level)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_TEAM_SIZE (int KMP_DEREF level)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_THREAD_LIMIT (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_IN_FINAL (void)
kmp_proc_bind_t FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PROC_BIND (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_PLACES (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PLACE_NUM_PROCS (int place_num)
void FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PLACE_PROC_IDS (int place_num, int *ids)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PLACE_NUM (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PARTITION_NUM_PLACES (void)
void FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PARTITION_PLACE_NUMS (int *place_nums)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_TEAMS (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_TEAM_NUM (void)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_DEFAULT_DEVICE (void)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_DEFAULT_DEVICE (int KMP_DEREF arg)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_DEVICES (void) KMP_WEAK_ATTRIBUTE_EXTERNAL
int FTN_STDCALL KMP_EXPAND_NAME FTN_IS_INITIAL_DEVICE (void) KMP_WEAK_ATTRIBUTE_EXTERNAL
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_INITIAL_DEVICE (void) KMP_WEAK_ATTRIBUTE_EXTERNAL
void FTN_STDCALL KMP_EXPAND_NAME FTN_INIT_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_INIT_NEST_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_DESTROY_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_DESTROY_NEST_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_NEST_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_UNSET_LOCK (void **user_lock)
void FTN_STDCALL KMP_EXPAND_NAME FTN_UNSET_NEST_LOCK (void **user_lock)
int FTN_STDCALL KMP_EXPAND_NAME FTN_TEST_LOCK (void **user_lock)
int FTN_STDCALL KMP_EXPAND_NAME FTN_TEST_NEST_LOCK (void **user_lock)
double FTN_STDCALL KMP_EXPAND_NAME FTN_GET_WTIME (void)
double FTN_STDCALL KMP_EXPAND_NAME FTN_GET_WTICK (void)
void *FTN_STDCALL FTN_MALLOC (size_t KMP_DEREF size)
void *FTN_STDCALL FTN_ALIGNED_MALLOC (size_t KMP_DEREF size, size_t KMP_DEREF alignment)
void *FTN_STDCALL FTN_CALLOC (size_t KMP_DEREF nelem, size_t KMP_DEREF elsize)
void *FTN_STDCALL FTN_REALLOC (void *KMP_DEREF ptr, size_t KMP_DEREF size)
void FTN_STDCALL FTN_KFREE (void *KMP_DEREF ptr)
void FTN_STDCALL FTN_SET_WARNINGS_ON (void)
void FTN_STDCALL FTN_SET_WARNINGS_OFF (void)
void FTN_STDCALL FTN_SET_DEFAULTS (char const *str, int len)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_CANCELLATION (void)
int FTN_STDCALL FTN_GET_CANCELLATION_STATUS (int cancel_kind)
int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_MAX_TASK_PRIORITY (void)
int FTN_STDCALL FTN_GET_DEVICE_NUM (void) KMP_WEAK_ATTRIBUTE_EXTERNAL
int FTN_STDCALL KMP_EXPAND_NAME FTN_PAUSE_RESOURCE (kmp_pause_status_t kind, int device_num)
int FTN_STDCALL KMP_EXPAND_NAME FTN_PAUSE_RESOURCE_ALL (kmp_pause_status_t kind)
int FTN_STDCALL FTN_GET_SUPPORTED_ACTIVE_LEVELS (void)
void FTN_STDCALL FTN_FULFILL_EVENT (kmp_event_t *event)
void FTN_STDCALL FTN_SET_NUM_TEAMS (int KMP_DEREF num_teams)
int FTN_STDCALL FTN_GET_MAX_TEAMS (void)
void FTN_STDCALL FTN_SET_TEAMS_THREAD_LIMIT (int KMP_DEREF limit)
int FTN_STDCALL FTN_GET_TEAMS_THREAD_LIMIT (void)
int FTN_STDCALL FTN_GET_NUM_INTEROP_PROPERTIES (const omp_interop_t interop)
intptr_t FTN_STDCALL FTN_GET_INTEROP_INT (const omp_interop_t interop, omp_interop_property_t property_id, int *err)
 TODO Convert FTN_GET_INTEROP_XXX functions into a macro like interop.cpp.
void *FTN_STDCALL FTN_GET_INTEROP_PTR (const omp_interop_t interop, omp_interop_property_t property_id, int *err)
const char *FTN_STDCALL FTN_GET_INTEROP_STR (const omp_interop_t interop, omp_interop_property_t property_id, int *err)
const char *FTN_STDCALL FTN_GET_INTEROP_NAME (const omp_interop_t interop, omp_interop_property_t property_id)
const char *FTN_STDCALL FTN_GET_INTEROP_TYPE_DESC (const omp_interop_t interop, omp_interop_property_t property_id)
const char *FTN_STDCALL FTN_GET_INTEROP_RC_DESC (const omp_interop_t interop, omp_interop_property_t property_id)
void FTN_STDCALL FTN_DISPLAY_ENV (int verbose)
int FTN_STDCALL FTN_IN_EXPLICIT_TASK (void)

Macro Definition Documentation

◆ KMP_DEREF

◆ KMP_EXPAND_NAME_IF_APPEND

#define KMP_EXPAND_NAME_IF_APPEND ( name)
Value:
__itt_string_handle * name
Definition ittnotify.h:3305
#define KMP_EXPAND_NAME(api_name)
Definition kmp_os.h:445

Definition at line 66 of file kmp_ftn_entry.h.

◆ omp_interop_none

#define omp_interop_none   0

Definition at line 1666 of file kmp_ftn_entry.h.

Typedef Documentation

◆ omp_interop_fr_t

◆ omp_interop_property_t

◆ omp_interop_rc_t

◆ omp_interop_t

typedef void* omp_interop_t

Definition at line 1689 of file kmp_ftn_entry.h.

◆ omp_intptr_t

typedef intptr_t omp_intptr_t

TODO: Include the omp.h of the current build.

Definition at line 1649 of file kmp_ftn_entry.h.

Enumeration Type Documentation

◆ omp_interop_fr

Enumerator
omp_ifr_cuda 
omp_ifr_cuda_driver 
omp_ifr_opencl 
omp_ifr_sycl 
omp_ifr_hip 
omp_ifr_level_zero 
omp_ifr_last 

Definition at line 1679 of file kmp_ftn_entry.h.

◆ omp_interop_property

Enumerator
omp_ipr_fr_id 
omp_ipr_fr_name 
omp_ipr_vendor 
omp_ipr_vendor_name 
omp_ipr_device_num 
omp_ipr_platform 
omp_ipr_device 
omp_ipr_device_context 
omp_ipr_targetsync 
omp_ipr_first 

Definition at line 1653 of file kmp_ftn_entry.h.

◆ omp_interop_rc

Enumerator
omp_irc_no_value 
omp_irc_success 
omp_irc_empty 
omp_irc_out_of_range 
omp_irc_type_int 
omp_irc_type_ptr 
omp_irc_type_str 
omp_irc_other 

Definition at line 1668 of file kmp_ftn_entry.h.

Function Documentation

◆ __kmp_fortran_strncpy_truncate()

void __kmp_fortran_strncpy_truncate ( char * buffer,
size_t buf_size,
char const * csrc,
size_t csrc_size )
static

Definition at line 556 of file kmp_ftn_entry.h.

References i, KMP_DEBUG_ASSERT, and KMP_STRNCPY_S.

Referenced by FTN_CAPTURE_AFFINITY(), and FTN_GET_AFFINITY_FORMAT().

◆ FTN_ALIGNED_MALLOC()

void *FTN_STDCALL FTN_ALIGNED_MALLOC ( size_t KMP_DEREF size,
size_t KMP_DEREF alignment )

Definition at line 1456 of file kmp_ftn_entry.h.

References alignment, KMP_DEREF, kmpc_aligned_malloc(), and size.

◆ FTN_CALLOC()

void *FTN_STDCALL FTN_CALLOC ( size_t KMP_DEREF nelem,
size_t KMP_DEREF elsize )

Definition at line 1462 of file kmp_ftn_entry.h.

References KMP_DEREF, and kmpc_calloc().

◆ FTN_CAPTURE_AFFINITY()

◆ FTN_CONTROL_TOOL()

int FTN_STDCALL FTN_CONTROL_TOOL ( int command,
int modifier,
void * arg )

◆ FTN_CREATE_AFFINITY_MASK()

void FTN_STDCALL FTN_CREATE_AFFINITY_MASK ( void ** mask)

◆ FTN_DESTROY_AFFINITY_MASK()

void FTN_STDCALL FTN_DESTROY_AFFINITY_MASK ( void ** mask)

◆ FTN_DESTROY_ALLOCATOR()

void FTN_STDCALL FTN_DESTROY_ALLOCATOR ( omp_allocator_handle_t al)

Definition at line 413 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, and __kmpc_destroy_allocator().

◆ FTN_DESTROY_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_DESTROY_LOCK ( void ** user_lock)

Definition at line 1292 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_destroy_lock(), and FTN_DESTROY_LOCK.

◆ FTN_DESTROY_NEST_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_DESTROY_NEST_LOCK ( void ** user_lock)

◆ FTN_DISPLAY_AFFINITY()

◆ FTN_DISPLAY_ENV()

void FTN_STDCALL FTN_DISPLAY_ENV ( int verbose)

Definition at line 1786 of file kmp_ftn_entry.h.

References __kmp_omp_display_env().

◆ FTN_FULFILL_EVENT()

void FTN_STDCALL FTN_FULFILL_EVENT ( kmp_event_t * event)

Definition at line 1598 of file kmp_ftn_entry.h.

References __kmp_fulfill_event(), and event.

◆ FTN_GET_ACTIVE_LEVEL()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_ACTIVE_LEVEL ( void )

Definition at line 885 of file kmp_ftn_entry.h.

References __kmp_entry_thread(), FTN_GET_ACTIVE_LEVEL, and void.

◆ FTN_GET_AFFINITY()

◆ FTN_GET_AFFINITY_FORMAT()

size_t FTN_STDCALL KMP_EXPAND_NAME_IF_APPEND FTN_GET_AFFINITY_FORMAT ( char * buffer,
size_t size )

◆ FTN_GET_AFFINITY_MASK_PROC()

int FTN_STDCALL FTN_GET_AFFINITY_MASK_PROC ( int KMP_DEREF proc,
void ** mask )

◆ FTN_GET_AFFINITY_MAX_PROC()

int FTN_STDCALL FTN_GET_AFFINITY_MAX_PROC ( void )

◆ FTN_GET_ANCESTOR_THREAD_NUM()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_ANCESTOR_THREAD_NUM ( int KMP_DEREF level)

◆ FTN_GET_BLOCKTIME()

◆ FTN_GET_CANCELLATION()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_CANCELLATION ( void )

◆ FTN_GET_CANCELLATION_STATUS()

int FTN_STDCALL FTN_GET_CANCELLATION_STATUS ( int cancel_kind)

Definition at line 1526 of file kmp_ftn_entry.h.

References __kmp_get_cancellation_status().

◆ FTN_GET_DEFAULT_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_GET_DEFAULT_ALLOCATOR ( void )

Definition at line 423 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, and __kmpc_get_default_allocator().

◆ FTN_GET_DEFAULT_DEVICE()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_DEFAULT_DEVICE ( void )

Definition at line 1146 of file kmp_ftn_entry.h.

References __kmp_entry_thread(), FTN_GET_DEFAULT_DEVICE, and void.

◆ FTN_GET_DEVICE_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICE_ALLOCATOR ( int KMP_DEREF dev,
omp_allocator_handle_t KMP_DEREF memspace )

Definition at line 494 of file kmp_ftn_entry.h.

References __kmp_get_devices_allocator(), and KMP_DEREF.

◆ FTN_GET_DEVICE_AND_HOST_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICE_AND_HOST_ALLOCATOR ( int KMP_DEREF dev,
omp_allocator_handle_t KMP_DEREF memspace )

Definition at line 515 of file kmp_ftn_entry.h.

References __kmp_get_devices_allocator(), and KMP_DEREF.

◆ FTN_GET_DEVICE_AND_HOST_MEMSPACE()

omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICE_AND_HOST_MEMSPACE ( int KMP_DEREF dev,
omp_memspace_handle_t KMP_DEREF memspace )

Definition at line 464 of file kmp_ftn_entry.h.

References __kmp_get_devices_memspace(), and KMP_DEREF.

◆ FTN_GET_DEVICE_MEMSPACE()

omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICE_MEMSPACE ( int KMP_DEREF dev,
omp_memspace_handle_t KMP_DEREF memspace )

Definition at line 443 of file kmp_ftn_entry.h.

References __kmp_get_devices_memspace(), and KMP_DEREF.

◆ FTN_GET_DEVICE_NUM()

int FTN_STDCALL FTN_GET_DEVICE_NUM ( void )

Definition at line 1550 of file kmp_ftn_entry.h.

References FTN_GET_INITIAL_DEVICE, and KMP_EXPAND_NAME.

◆ FTN_GET_DEVICES_ALL_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICES_ALL_ALLOCATOR ( omp_allocator_handle_t KMP_DEREF memspace)

Definition at line 526 of file kmp_ftn_entry.h.

References __kmp_get_devices_allocator(), and KMP_DEREF.

◆ FTN_GET_DEVICES_ALL_MEMSPACE()

omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICES_ALL_MEMSPACE ( omp_memspace_handle_t KMP_DEREF memspace)

Definition at line 475 of file kmp_ftn_entry.h.

References __kmp_get_devices_memspace(), and KMP_DEREF.

◆ FTN_GET_DEVICES_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICES_ALLOCATOR ( int KMP_DEREF ndevs,
const int * devs,
omp_allocator_handle_t KMP_DEREF memspace )

Definition at line 484 of file kmp_ftn_entry.h.

References __kmp_get_devices_allocator(), and KMP_DEREF.

◆ FTN_GET_DEVICES_AND_HOST_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_GET_DEVICES_AND_HOST_ALLOCATOR ( int KMP_DEREF ndevs,
const int * devs,
omp_allocator_handle_t KMP_DEREF memspace )

Definition at line 505 of file kmp_ftn_entry.h.

References __kmp_get_devices_allocator(), and KMP_DEREF.

◆ FTN_GET_DEVICES_AND_HOST_MEMSPACE()

omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICES_AND_HOST_MEMSPACE ( int KMP_DEREF ndevs,
const int * devs,
omp_memspace_handle_t KMP_DEREF memspace )

Definition at line 454 of file kmp_ftn_entry.h.

References __kmp_get_devices_memspace(), and KMP_DEREF.

◆ FTN_GET_DEVICES_MEMSPACE()

omp_memspace_handle_t FTN_STDCALL FTN_GET_DEVICES_MEMSPACE ( int KMP_DEREF ndevs,
const int * devs,
omp_memspace_handle_t KMP_DEREF memspace )

Definition at line 433 of file kmp_ftn_entry.h.

References __kmp_get_devices_memspace(), and KMP_DEREF.

◆ FTN_GET_DYNAMIC()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_DYNAMIC ( void )

◆ FTN_GET_INITIAL_DEVICE()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_INITIAL_DEVICE ( void )

Definition at line 1195 of file kmp_ftn_entry.h.

References FTN_GET_INITIAL_DEVICE, FTN_GET_NUM_DEVICES, KMP_EXPAND_NAME, and void.

◆ FTN_GET_INTEROP_INT()

intptr_t FTN_STDCALL FTN_GET_INTEROP_INT ( const omp_interop_t interop,
omp_interop_property_t property_id,
int * err )

TODO Convert FTN_GET_INTEROP_XXX functions into a macro like interop.cpp.

Definition at line 1705 of file kmp_ftn_entry.h.

References err, and KMP_DLSYM_NEXT.

◆ FTN_GET_INTEROP_NAME()

const char *FTN_STDCALL FTN_GET_INTEROP_NAME ( const omp_interop_t interop,
omp_interop_property_t property_id )

Definition at line 1747 of file kmp_ftn_entry.h.

References KMP_DLSYM_NEXT.

◆ FTN_GET_INTEROP_PTR()

void *FTN_STDCALL FTN_GET_INTEROP_PTR ( const omp_interop_t interop,
omp_interop_property_t property_id,
int * err )

Definition at line 1719 of file kmp_ftn_entry.h.

References err, and KMP_DLSYM_NEXT.

◆ FTN_GET_INTEROP_RC_DESC()

const char *FTN_STDCALL FTN_GET_INTEROP_RC_DESC ( const omp_interop_t interop,
omp_interop_property_t property_id )

Definition at line 1773 of file kmp_ftn_entry.h.

References KMP_DLSYM_NEXT.

◆ FTN_GET_INTEROP_STR()

const char *FTN_STDCALL FTN_GET_INTEROP_STR ( const omp_interop_t interop,
omp_interop_property_t property_id,
int * err )

Definition at line 1733 of file kmp_ftn_entry.h.

References err, and KMP_DLSYM_NEXT.

◆ FTN_GET_INTEROP_TYPE_DESC()

const char *FTN_STDCALL FTN_GET_INTEROP_TYPE_DESC ( const omp_interop_t interop,
omp_interop_property_t property_id )

Definition at line 1760 of file kmp_ftn_entry.h.

References KMP_DLSYM_NEXT.

◆ FTN_GET_LEVEL()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_LEVEL ( void )

Definition at line 894 of file kmp_ftn_entry.h.

References __kmp_entry_thread(), FTN_GET_LEVEL, and void.

◆ FTN_GET_LIBRARY()

int FTN_STDCALL FTN_GET_LIBRARY ( void )

◆ FTN_GET_MAX_ACTIVE_LEVELS()

◆ FTN_GET_MAX_TASK_PRIORITY()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_MAX_TASK_PRIORITY ( void )

◆ FTN_GET_MAX_TEAMS()

int FTN_STDCALL FTN_GET_MAX_TEAMS ( void )

◆ FTN_GET_MAX_THREADS()

◆ FTN_GET_MEMSPACE_NUM_RESOURCES()

int FTN_STDCALL FTN_GET_MEMSPACE_NUM_RESOURCES ( omp_memspace_handle_t KMP_DEREF memspace)

Definition at line 535 of file kmp_ftn_entry.h.

References __kmp_get_memspace_num_resources(), and KMP_DEREF.

◆ FTN_GET_NESTED()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NESTED ( void )

◆ FTN_GET_NUM_DEVICES()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_DEVICES ( void )

Definition at line 1167 of file kmp_ftn_entry.h.

References FTN_GET_NUM_DEVICES, int, KMP_DLSYM, KMP_DLSYM_NEXT, and void.

◆ FTN_GET_NUM_INTEROP_PROPERTIES()

int FTN_STDCALL FTN_GET_NUM_INTEROP_PROPERTIES ( const omp_interop_t interop)

Definition at line 1692 of file kmp_ftn_entry.h.

References int, and KMP_DLSYM_NEXT.

◆ FTN_GET_NUM_KNOWN_THREADS()

int FTN_STDCALL FTN_GET_NUM_KNOWN_THREADS ( void )

Definition at line 743 of file kmp_ftn_entry.h.

References __kmp_init_serial, __kmp_nth, __kmp_serial_initialize(), and TCR_4.

◆ FTN_GET_NUM_PLACES()

◆ FTN_GET_NUM_PROCS()

◆ FTN_GET_NUM_TEAMS()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_TEAMS ( void )

Definition at line 1130 of file kmp_ftn_entry.h.

References __kmp_aux_get_num_teams(), FTN_GET_NUM_TEAMS, and void.

◆ FTN_GET_NUM_THREADS()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_NUM_THREADS ( void )

Definition at line 353 of file kmp_ftn_entry.h.

References __kmpc_bound_num_threads(), FTN_GET_NUM_THREADS, and void.

◆ FTN_GET_PARTITION_NUM_PLACES()

◆ FTN_GET_PARTITION_PLACE_NUMS()

◆ FTN_GET_PLACE_NUM()

◆ FTN_GET_PLACE_NUM_PROCS()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PLACE_NUM_PROCS ( int place_num)

◆ FTN_GET_PLACE_PROC_IDS()

void FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PLACE_PROC_IDS ( int place_num,
int * ids )

◆ FTN_GET_PROC_BIND()

kmp_proc_bind_t FTN_STDCALL KMP_EXPAND_NAME FTN_GET_PROC_BIND ( void )

◆ FTN_GET_SCHEDULE()

void FTN_STDCALL KMP_EXPAND_NAME FTN_GET_SCHEDULE ( kmp_sched_t * kind,
int * modifier )

◆ FTN_GET_STACKSIZE()

int FTN_STDCALL FTN_GET_STACKSIZE ( void )

◆ FTN_GET_STACKSIZE_S()

size_t FTN_STDCALL FTN_GET_STACKSIZE_S ( void )

◆ FTN_GET_SUBMEMSPACE()

omp_memspace_handle_t FTN_STDCALL FTN_GET_SUBMEMSPACE ( omp_memspace_handle_t KMP_DEREF memspace,
int KMP_DEREF num_resources,
int * resources )

Definition at line 544 of file kmp_ftn_entry.h.

References __kmp_get_submemspace(), and KMP_DEREF.

◆ FTN_GET_SUPPORTED_ACTIVE_LEVELS()

int FTN_STDCALL FTN_GET_SUPPORTED_ACTIVE_LEVELS ( void )

Definition at line 1590 of file kmp_ftn_entry.h.

References KMP_MAX_ACTIVE_LEVELS_LIMIT.

◆ FTN_GET_TEAM_NUM()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_TEAM_NUM ( void )

Definition at line 1138 of file kmp_ftn_entry.h.

References __kmp_aux_get_team_num(), FTN_GET_TEAM_NUM, and void.

◆ FTN_GET_TEAM_SIZE()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_TEAM_SIZE ( int KMP_DEREF level)

◆ FTN_GET_TEAMS_THREAD_LIMIT()

int FTN_STDCALL FTN_GET_TEAMS_THREAD_LIMIT ( void )

◆ FTN_GET_THREAD_LIMIT()

int FTN_STDCALL KMP_EXPAND_NAME FTN_GET_THREAD_LIMIT ( void )

◆ FTN_GET_THREAD_NUM()

◆ FTN_GET_WTICK()

◆ FTN_GET_WTIME()

◆ FTN_IN_EXPLICIT_TASK()

int FTN_STDCALL FTN_IN_EXPLICIT_TASK ( void )

Definition at line 1792 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, and __kmp_thread_from_gtid().

◆ FTN_IN_FINAL()

int FTN_STDCALL KMP_EXPAND_NAME FTN_IN_FINAL ( void )

Definition at line 940 of file kmp_ftn_entry.h.

References __kmp_entry_thread(), __kmp_init_parallel, FTN_IN_FINAL, TCR_4, and void.

◆ FTN_IN_PARALLEL()

int FTN_STDCALL KMP_EXPAND_NAME FTN_IN_PARALLEL ( void )

Definition at line 828 of file kmp_ftn_entry.h.

References __kmp_entry_thread(), FTN_FALSE, FTN_IN_PARALLEL, FTN_TRUE, and void.

◆ FTN_INIT_ALLOCATOR()

omp_allocator_handle_t FTN_STDCALL FTN_INIT_ALLOCATOR ( omp_memspace_handle_t KMP_DEREF m,
int KMP_DEREF ntraits,
omp_alloctrait_t tr[] )

Definition at line 403 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_init_allocator(), and KMP_DEREF.

◆ FTN_INIT_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_INIT_LOCK ( void ** user_lock)

Definition at line 1267 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_init_lock(), and FTN_INIT_LOCK.

◆ FTN_INIT_NEST_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_INIT_NEST_LOCK ( void ** user_lock)

Definition at line 1280 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_init_nest_lock(), and FTN_INIT_NEST_LOCK.

◆ FTN_IS_INITIAL_DEVICE()

int FTN_STDCALL KMP_EXPAND_NAME FTN_IS_INITIAL_DEVICE ( void )

Definition at line 1188 of file kmp_ftn_entry.h.

References FTN_IS_INITIAL_DEVICE, and void.

◆ FTN_KFREE()

void FTN_STDCALL FTN_KFREE ( void *KMP_DEREF ptr)

Definition at line 1472 of file kmp_ftn_entry.h.

References KMP_DEREF, and kmpc_free().

◆ FTN_MALLOC()

void *FTN_STDCALL FTN_MALLOC ( size_t KMP_DEREF size)

Definition at line 1451 of file kmp_ftn_entry.h.

References KMP_DEREF, kmpc_malloc(), and size.

◆ FTN_PAUSE_RESOURCE()

int FTN_STDCALL KMP_EXPAND_NAME FTN_PAUSE_RESOURCE ( kmp_pause_status_t kind,
int device_num )

◆ FTN_PAUSE_RESOURCE_ALL()

int FTN_STDCALL KMP_EXPAND_NAME FTN_PAUSE_RESOURCE_ALL ( kmp_pause_status_t kind)

◆ FTN_REALLOC()

void *FTN_STDCALL FTN_REALLOC ( void *KMP_DEREF ptr,
size_t KMP_DEREF size )

Definition at line 1467 of file kmp_ftn_entry.h.

References KMP_DEREF, kmpc_realloc(), and size.

◆ FTN_SET_AFFINITY()

int FTN_STDCALL FTN_SET_AFFINITY ( void ** mask)

◆ FTN_SET_AFFINITY_FORMAT()

◆ FTN_SET_AFFINITY_MASK_PROC()

int FTN_STDCALL FTN_SET_AFFINITY_MASK_PROC ( int KMP_DEREF proc,
void ** mask )

◆ FTN_SET_BLOCKTIME()

◆ FTN_SET_DEFAULT_ALLOCATOR()

void FTN_STDCALL FTN_SET_DEFAULT_ALLOCATOR ( omp_allocator_handle_t al)

Definition at line 418 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, and __kmpc_set_default_allocator().

◆ FTN_SET_DEFAULT_DEVICE()

void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_DEFAULT_DEVICE ( int KMP_DEREF arg)

Definition at line 1154 of file kmp_ftn_entry.h.

References __kmp_entry_thread(), FTN_SET_DEFAULT_DEVICE, and KMP_DEREF.

◆ FTN_SET_DEFAULTS()

void FTN_STDCALL FTN_SET_DEFAULTS ( char const * str,
int len )

Definition at line 1489 of file kmp_ftn_entry.h.

References __kmp_aux_set_defaults(), ConvertedString::get(), and KMP_STRLEN.

◆ FTN_SET_DISP_NUM_BUFFERS()

void FTN_STDCALL FTN_SET_DISP_NUM_BUFFERS ( int KMP_DEREF arg)

◆ FTN_SET_DYNAMIC()

◆ FTN_SET_LIBRARY()

void FTN_STDCALL FTN_SET_LIBRARY ( int KMP_DEREF arg)

Definition at line 190 of file kmp_ftn_entry.h.

References __kmp_user_set_library(), __kmps_set_library(), and KMP_DEREF.

◆ FTN_SET_LIBRARY_SERIAL()

void FTN_STDCALL FTN_SET_LIBRARY_SERIAL ( void )

Definition at line 163 of file kmp_ftn_entry.h.

References __kmp_user_set_library(), __kmps_set_library(), and library_serial.

◆ FTN_SET_LIBRARY_THROUGHPUT()

void FTN_STDCALL FTN_SET_LIBRARY_THROUGHPUT ( void )

◆ FTN_SET_LIBRARY_TURNAROUND()

void FTN_STDCALL FTN_SET_LIBRARY_TURNAROUND ( void )

◆ FTN_SET_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_LOCK ( void ** user_lock)

Definition at line 1316 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_set_lock(), and FTN_SET_LOCK.

◆ FTN_SET_MAX_ACTIVE_LEVELS()

void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_MAX_ACTIVE_LEVELS ( int KMP_DEREF arg)

◆ FTN_SET_NEST_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_NEST_LOCK ( void ** user_lock)

Definition at line 1334 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_set_nest_lock(), and FTN_SET_NEST_LOCK.

◆ FTN_SET_NESTED()

◆ FTN_SET_NUM_TEAMS()

void FTN_STDCALL FTN_SET_NUM_TEAMS ( int KMP_DEREF num_teams)

◆ FTN_SET_NUM_THREADS()

void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_NUM_THREADS ( int KMP_DEREF arg)

◆ FTN_SET_SCHEDULE()

void FTN_STDCALL KMP_EXPAND_NAME FTN_SET_SCHEDULE ( kmp_sched_t KMP_DEREF kind,
int KMP_DEREF modifier )

◆ FTN_SET_STACKSIZE()

void FTN_STDCALL FTN_SET_STACKSIZE ( int KMP_DEREF arg)

Definition at line 71 of file kmp_ftn_entry.h.

References __kmp_aux_set_stacksize(), __kmps_set_stacksize(), and KMP_DEREF.

◆ FTN_SET_STACKSIZE_S()

void FTN_STDCALL FTN_SET_STACKSIZE_S ( size_t KMP_DEREF arg)

Definition at line 80 of file kmp_ftn_entry.h.

References __kmp_aux_set_stacksize(), __kmps_set_stacksize(), and KMP_DEREF.

◆ FTN_SET_TEAMS_THREAD_LIMIT()

void FTN_STDCALL FTN_SET_TEAMS_THREAD_LIMIT ( int KMP_DEREF limit)

◆ FTN_SET_WARNINGS_OFF()

void FTN_STDCALL FTN_SET_WARNINGS_OFF ( void )

Definition at line 1483 of file kmp_ftn_entry.h.

References __kmp_generate_warnings, and FALSE.

◆ FTN_SET_WARNINGS_ON()

void FTN_STDCALL FTN_SET_WARNINGS_ON ( void )

Definition at line 1477 of file kmp_ftn_entry.h.

References __kmp_generate_warnings, and kmp_warnings_explicit.

◆ FTN_TEST_LOCK()

int FTN_STDCALL KMP_EXPAND_NAME FTN_TEST_LOCK ( void ** user_lock)

Definition at line 1385 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_test_lock(), and FTN_TEST_LOCK.

◆ FTN_TEST_NEST_LOCK()

int FTN_STDCALL KMP_EXPAND_NAME FTN_TEST_NEST_LOCK ( void ** user_lock)

Definition at line 1404 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_test_nest_lock(), and FTN_TEST_NEST_LOCK.

◆ FTN_UNSET_AFFINITY_MASK_PROC()

int FTN_STDCALL FTN_UNSET_AFFINITY_MASK_PROC ( int KMP_DEREF proc,
void ** mask )

◆ FTN_UNSET_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_UNSET_LOCK ( void ** user_lock)

Definition at line 1349 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_unset_lock(), and FTN_UNSET_LOCK.

◆ FTN_UNSET_NEST_LOCK()

void FTN_STDCALL KMP_EXPAND_NAME FTN_UNSET_NEST_LOCK ( void ** user_lock)

Definition at line 1367 of file kmp_ftn_entry.h.

References __kmp_entry_gtid, __kmpc_unset_nest_lock(), and FTN_UNSET_NEST_LOCK.