10b57cec5SDimitry Andric /* 20b57cec5SDimitry Andric * kmp_ftn_os.h -- KPTS Fortran defines header file. 30b57cec5SDimitry Andric */ 40b57cec5SDimitry Andric 50b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 80b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 90b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 100b57cec5SDimitry Andric // 110b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 120b57cec5SDimitry Andric 130b57cec5SDimitry Andric #ifndef KMP_FTN_OS_H 140b57cec5SDimitry Andric #define KMP_FTN_OS_H 150b57cec5SDimitry Andric 160b57cec5SDimitry Andric // KMP_FNT_ENTRIES may be one of: KMP_FTN_PLAIN, KMP_FTN_UPPER, KMP_FTN_APPEND, 170b57cec5SDimitry Andric // KMP_FTN_UAPPEND. 180b57cec5SDimitry Andric 190b57cec5SDimitry Andric /* -------------------------- External definitions ------------------------ */ 200b57cec5SDimitry Andric 210b57cec5SDimitry Andric #if KMP_FTN_ENTRIES == KMP_FTN_PLAIN 220b57cec5SDimitry Andric 230b57cec5SDimitry Andric #define FTN_SET_STACKSIZE kmp_set_stacksize 240b57cec5SDimitry Andric #define FTN_SET_STACKSIZE_S kmp_set_stacksize_s 250b57cec5SDimitry Andric #define FTN_GET_STACKSIZE kmp_get_stacksize 260b57cec5SDimitry Andric #define FTN_GET_STACKSIZE_S kmp_get_stacksize_s 270b57cec5SDimitry Andric #define FTN_SET_BLOCKTIME kmp_set_blocktime 280b57cec5SDimitry Andric #define FTN_GET_BLOCKTIME kmp_get_blocktime 290b57cec5SDimitry Andric #define FTN_SET_LIBRARY_SERIAL kmp_set_library_serial 300b57cec5SDimitry Andric #define FTN_SET_LIBRARY_TURNAROUND kmp_set_library_turnaround 310b57cec5SDimitry Andric #define FTN_SET_LIBRARY_THROUGHPUT kmp_set_library_throughput 320b57cec5SDimitry Andric #define FTN_SET_LIBRARY kmp_set_library 330b57cec5SDimitry Andric #define FTN_GET_LIBRARY kmp_get_library 340b57cec5SDimitry Andric #define FTN_SET_DEFAULTS kmp_set_defaults 350b57cec5SDimitry Andric #define FTN_SET_DISP_NUM_BUFFERS kmp_set_disp_num_buffers 360b57cec5SDimitry Andric #define FTN_SET_AFFINITY kmp_set_affinity 370b57cec5SDimitry Andric #define FTN_GET_AFFINITY kmp_get_affinity 380b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MAX_PROC kmp_get_affinity_max_proc 390b57cec5SDimitry Andric #define FTN_CREATE_AFFINITY_MASK kmp_create_affinity_mask 400b57cec5SDimitry Andric #define FTN_DESTROY_AFFINITY_MASK kmp_destroy_affinity_mask 410b57cec5SDimitry Andric #define FTN_SET_AFFINITY_MASK_PROC kmp_set_affinity_mask_proc 420b57cec5SDimitry Andric #define FTN_UNSET_AFFINITY_MASK_PROC kmp_unset_affinity_mask_proc 430b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MASK_PROC kmp_get_affinity_mask_proc 440b57cec5SDimitry Andric 450b57cec5SDimitry Andric #define FTN_MALLOC kmp_malloc 460b57cec5SDimitry Andric #define FTN_ALIGNED_MALLOC kmp_aligned_malloc 470b57cec5SDimitry Andric #define FTN_CALLOC kmp_calloc 480b57cec5SDimitry Andric #define FTN_REALLOC kmp_realloc 490b57cec5SDimitry Andric #define FTN_KFREE kmp_free 500b57cec5SDimitry Andric 510b57cec5SDimitry Andric #define FTN_GET_NUM_KNOWN_THREADS kmp_get_num_known_threads 520b57cec5SDimitry Andric 530b57cec5SDimitry Andric #define FTN_SET_NUM_THREADS omp_set_num_threads 540b57cec5SDimitry Andric #define FTN_GET_NUM_THREADS omp_get_num_threads 550b57cec5SDimitry Andric #define FTN_GET_MAX_THREADS omp_get_max_threads 560b57cec5SDimitry Andric #define FTN_GET_THREAD_NUM omp_get_thread_num 570b57cec5SDimitry Andric #define FTN_GET_NUM_PROCS omp_get_num_procs 580b57cec5SDimitry Andric #define FTN_SET_DYNAMIC omp_set_dynamic 590b57cec5SDimitry Andric #define FTN_GET_DYNAMIC omp_get_dynamic 600b57cec5SDimitry Andric #define FTN_SET_NESTED omp_set_nested 610b57cec5SDimitry Andric #define FTN_GET_NESTED omp_get_nested 620b57cec5SDimitry Andric #define FTN_IN_PARALLEL omp_in_parallel 630b57cec5SDimitry Andric #define FTN_GET_THREAD_LIMIT omp_get_thread_limit 640b57cec5SDimitry Andric #define FTN_SET_SCHEDULE omp_set_schedule 650b57cec5SDimitry Andric #define FTN_GET_SCHEDULE omp_get_schedule 660b57cec5SDimitry Andric #define FTN_SET_MAX_ACTIVE_LEVELS omp_set_max_active_levels 670b57cec5SDimitry Andric #define FTN_GET_MAX_ACTIVE_LEVELS omp_get_max_active_levels 680b57cec5SDimitry Andric #define FTN_GET_ACTIVE_LEVEL omp_get_active_level 690b57cec5SDimitry Andric #define FTN_GET_LEVEL omp_get_level 700b57cec5SDimitry Andric #define FTN_GET_ANCESTOR_THREAD_NUM omp_get_ancestor_thread_num 710b57cec5SDimitry Andric #define FTN_GET_TEAM_SIZE omp_get_team_size 720b57cec5SDimitry Andric #define FTN_IN_FINAL omp_in_final 730b57cec5SDimitry Andric #define FTN_GET_PROC_BIND omp_get_proc_bind 740b57cec5SDimitry Andric #define FTN_GET_NUM_TEAMS omp_get_num_teams 750b57cec5SDimitry Andric #define FTN_GET_TEAM_NUM omp_get_team_num 760b57cec5SDimitry Andric #define FTN_INIT_LOCK omp_init_lock 770b57cec5SDimitry Andric #if KMP_USE_DYNAMIC_LOCK 780b57cec5SDimitry Andric #define FTN_INIT_LOCK_WITH_HINT omp_init_lock_with_hint 790b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK_WITH_HINT omp_init_nest_lock_with_hint 800b57cec5SDimitry Andric #endif 810b57cec5SDimitry Andric #define FTN_DESTROY_LOCK omp_destroy_lock 820b57cec5SDimitry Andric #define FTN_SET_LOCK omp_set_lock 830b57cec5SDimitry Andric #define FTN_UNSET_LOCK omp_unset_lock 840b57cec5SDimitry Andric #define FTN_TEST_LOCK omp_test_lock 850b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK omp_init_nest_lock 860b57cec5SDimitry Andric #define FTN_DESTROY_NEST_LOCK omp_destroy_nest_lock 870b57cec5SDimitry Andric #define FTN_SET_NEST_LOCK omp_set_nest_lock 880b57cec5SDimitry Andric #define FTN_UNSET_NEST_LOCK omp_unset_nest_lock 890b57cec5SDimitry Andric #define FTN_TEST_NEST_LOCK omp_test_nest_lock 900b57cec5SDimitry Andric 910b57cec5SDimitry Andric #define FTN_SET_WARNINGS_ON kmp_set_warnings_on 920b57cec5SDimitry Andric #define FTN_SET_WARNINGS_OFF kmp_set_warnings_off 930b57cec5SDimitry Andric 940b57cec5SDimitry Andric #define FTN_GET_WTIME omp_get_wtime 950b57cec5SDimitry Andric #define FTN_GET_WTICK omp_get_wtick 960b57cec5SDimitry Andric 970b57cec5SDimitry Andric #define FTN_GET_NUM_DEVICES omp_get_num_devices 980b57cec5SDimitry Andric #define FTN_GET_DEFAULT_DEVICE omp_get_default_device 990b57cec5SDimitry Andric #define FTN_SET_DEFAULT_DEVICE omp_set_default_device 1000b57cec5SDimitry Andric #define FTN_IS_INITIAL_DEVICE omp_is_initial_device 1010b57cec5SDimitry Andric 1020b57cec5SDimitry Andric #define FTN_GET_CANCELLATION omp_get_cancellation 1030b57cec5SDimitry Andric #define FTN_GET_CANCELLATION_STATUS kmp_get_cancellation_status 1040b57cec5SDimitry Andric 1050b57cec5SDimitry Andric #define FTN_GET_MAX_TASK_PRIORITY omp_get_max_task_priority 1060b57cec5SDimitry Andric #define FTN_GET_NUM_PLACES omp_get_num_places 1070b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM_PROCS omp_get_place_num_procs 1080b57cec5SDimitry Andric #define FTN_GET_PLACE_PROC_IDS omp_get_place_proc_ids 1090b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM omp_get_place_num 1100b57cec5SDimitry Andric #define FTN_GET_PARTITION_NUM_PLACES omp_get_partition_num_places 1110b57cec5SDimitry Andric #define FTN_GET_PARTITION_PLACE_NUMS omp_get_partition_place_nums 1120b57cec5SDimitry Andric #define FTN_GET_INITIAL_DEVICE omp_get_initial_device 1130b57cec5SDimitry Andric #ifdef KMP_STUB 1140b57cec5SDimitry Andric #define FTN_TARGET_ALLOC omp_target_alloc 1150b57cec5SDimitry Andric #define FTN_TARGET_FREE omp_target_free 1160b57cec5SDimitry Andric #define FTN_TARGET_IS_PRESENT omp_target_is_present 1170b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY omp_target_memcpy 1180b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY_RECT omp_target_memcpy_rect 119*5f757f3fSDimitry Andric #define FTN_TARGET_MEMSET omp_target_memset 120*5f757f3fSDimitry Andric #define FTN_TARGET_MEMSET_ASYNC omp_target_memset_async 1210b57cec5SDimitry Andric #define FTN_TARGET_ASSOCIATE_PTR omp_target_associate_ptr 1220b57cec5SDimitry Andric #define FTN_TARGET_DISASSOCIATE_PTR omp_target_disassociate_ptr 1230b57cec5SDimitry Andric #endif 1240b57cec5SDimitry Andric 1250b57cec5SDimitry Andric #define FTN_CONTROL_TOOL omp_control_tool 1260b57cec5SDimitry Andric #define FTN_INIT_ALLOCATOR omp_init_allocator 1270b57cec5SDimitry Andric #define FTN_DESTROY_ALLOCATOR omp_destroy_allocator 1280b57cec5SDimitry Andric #define FTN_SET_DEFAULT_ALLOCATOR omp_set_default_allocator 1290b57cec5SDimitry Andric #define FTN_GET_DEFAULT_ALLOCATOR omp_get_default_allocator 1300b57cec5SDimitry Andric #define FTN_GET_DEVICE_NUM omp_get_device_num 1310b57cec5SDimitry Andric #define FTN_SET_AFFINITY_FORMAT omp_set_affinity_format 1320b57cec5SDimitry Andric #define FTN_GET_AFFINITY_FORMAT omp_get_affinity_format 1330b57cec5SDimitry Andric #define FTN_DISPLAY_AFFINITY omp_display_affinity 1340b57cec5SDimitry Andric #define FTN_CAPTURE_AFFINITY omp_capture_affinity 1350b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE omp_pause_resource 1360b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE_ALL omp_pause_resource_all 1370b57cec5SDimitry Andric #define FTN_GET_SUPPORTED_ACTIVE_LEVELS omp_get_supported_active_levels 1385ffd83dbSDimitry Andric #define FTN_DISPLAY_ENV omp_display_env 13981ad6265SDimitry Andric #define FTN_IN_EXPLICIT_TASK omp_in_explicit_task 1400b57cec5SDimitry Andric #define FTN_FULFILL_EVENT omp_fulfill_event 141fe6060f1SDimitry Andric #define FTN_SET_NUM_TEAMS omp_set_num_teams 142fe6060f1SDimitry Andric #define FTN_GET_MAX_TEAMS omp_get_max_teams 143fe6060f1SDimitry Andric #define FTN_SET_TEAMS_THREAD_LIMIT omp_set_teams_thread_limit 144fe6060f1SDimitry Andric #define FTN_GET_TEAMS_THREAD_LIMIT omp_get_teams_thread_limit 1450b57cec5SDimitry Andric 1461fd87a68SDimitry Andric #define FTN_GET_NUM_INTEROP_PROPERTIES omp_get_num_interop_properties 1471fd87a68SDimitry Andric #define FTN_GET_INTEROP_INT omp_get_interop_int 1481fd87a68SDimitry Andric #define FTN_GET_INTEROP_PTR omp_get_interop_ptr 1491fd87a68SDimitry Andric #define FTN_GET_INTEROP_STR omp_get_interop_str 1501fd87a68SDimitry Andric #define FTN_GET_INTEROP_NAME omp_get_interop_name 1511fd87a68SDimitry Andric #define FTN_GET_INTEROP_TYPE_DESC omp_get_interop_type_desc 1521fd87a68SDimitry Andric #define FTN_GET_INTEROP_RC_DESC omp_get_interop_rc_desc 1531fd87a68SDimitry Andric 1540b57cec5SDimitry Andric #endif /* KMP_FTN_PLAIN */ 1550b57cec5SDimitry Andric 1560b57cec5SDimitry Andric /* ------------------------------------------------------------------------ */ 1570b57cec5SDimitry Andric 1580b57cec5SDimitry Andric #if KMP_FTN_ENTRIES == KMP_FTN_APPEND 1590b57cec5SDimitry Andric 1600b57cec5SDimitry Andric #define FTN_SET_STACKSIZE kmp_set_stacksize_ 1610b57cec5SDimitry Andric #define FTN_SET_STACKSIZE_S kmp_set_stacksize_s_ 1620b57cec5SDimitry Andric #define FTN_GET_STACKSIZE kmp_get_stacksize_ 1630b57cec5SDimitry Andric #define FTN_GET_STACKSIZE_S kmp_get_stacksize_s_ 1640b57cec5SDimitry Andric #define FTN_SET_BLOCKTIME kmp_set_blocktime_ 1650b57cec5SDimitry Andric #define FTN_GET_BLOCKTIME kmp_get_blocktime_ 1660b57cec5SDimitry Andric #define FTN_SET_LIBRARY_SERIAL kmp_set_library_serial_ 1670b57cec5SDimitry Andric #define FTN_SET_LIBRARY_TURNAROUND kmp_set_library_turnaround_ 1680b57cec5SDimitry Andric #define FTN_SET_LIBRARY_THROUGHPUT kmp_set_library_throughput_ 1690b57cec5SDimitry Andric #define FTN_SET_LIBRARY kmp_set_library_ 1700b57cec5SDimitry Andric #define FTN_GET_LIBRARY kmp_get_library_ 1710b57cec5SDimitry Andric #define FTN_SET_DEFAULTS kmp_set_defaults_ 1720b57cec5SDimitry Andric #define FTN_SET_DISP_NUM_BUFFERS kmp_set_disp_num_buffers_ 1730b57cec5SDimitry Andric #define FTN_SET_AFFINITY kmp_set_affinity_ 1740b57cec5SDimitry Andric #define FTN_GET_AFFINITY kmp_get_affinity_ 1750b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MAX_PROC kmp_get_affinity_max_proc_ 1760b57cec5SDimitry Andric #define FTN_CREATE_AFFINITY_MASK kmp_create_affinity_mask_ 1770b57cec5SDimitry Andric #define FTN_DESTROY_AFFINITY_MASK kmp_destroy_affinity_mask_ 1780b57cec5SDimitry Andric #define FTN_SET_AFFINITY_MASK_PROC kmp_set_affinity_mask_proc_ 1790b57cec5SDimitry Andric #define FTN_UNSET_AFFINITY_MASK_PROC kmp_unset_affinity_mask_proc_ 1800b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MASK_PROC kmp_get_affinity_mask_proc_ 1810b57cec5SDimitry Andric 1820b57cec5SDimitry Andric #define FTN_MALLOC kmp_malloc_ 1830b57cec5SDimitry Andric #define FTN_ALIGNED_MALLOC kmp_aligned_malloc_ 1840b57cec5SDimitry Andric #define FTN_CALLOC kmp_calloc_ 1850b57cec5SDimitry Andric #define FTN_REALLOC kmp_realloc_ 1860b57cec5SDimitry Andric #define FTN_KFREE kmp_free_ 1870b57cec5SDimitry Andric 1880b57cec5SDimitry Andric #define FTN_GET_NUM_KNOWN_THREADS kmp_get_num_known_threads_ 1890b57cec5SDimitry Andric 1900b57cec5SDimitry Andric #define FTN_SET_NUM_THREADS omp_set_num_threads_ 1910b57cec5SDimitry Andric #define FTN_GET_NUM_THREADS omp_get_num_threads_ 1920b57cec5SDimitry Andric #define FTN_GET_MAX_THREADS omp_get_max_threads_ 1930b57cec5SDimitry Andric #define FTN_GET_THREAD_NUM omp_get_thread_num_ 1940b57cec5SDimitry Andric #define FTN_GET_NUM_PROCS omp_get_num_procs_ 1950b57cec5SDimitry Andric #define FTN_SET_DYNAMIC omp_set_dynamic_ 1960b57cec5SDimitry Andric #define FTN_GET_DYNAMIC omp_get_dynamic_ 1970b57cec5SDimitry Andric #define FTN_SET_NESTED omp_set_nested_ 1980b57cec5SDimitry Andric #define FTN_GET_NESTED omp_get_nested_ 1990b57cec5SDimitry Andric #define FTN_IN_PARALLEL omp_in_parallel_ 2000b57cec5SDimitry Andric #define FTN_GET_THREAD_LIMIT omp_get_thread_limit_ 2010b57cec5SDimitry Andric #define FTN_SET_SCHEDULE omp_set_schedule_ 2020b57cec5SDimitry Andric #define FTN_GET_SCHEDULE omp_get_schedule_ 2030b57cec5SDimitry Andric #define FTN_SET_MAX_ACTIVE_LEVELS omp_set_max_active_levels_ 2040b57cec5SDimitry Andric #define FTN_GET_MAX_ACTIVE_LEVELS omp_get_max_active_levels_ 2050b57cec5SDimitry Andric #define FTN_GET_ACTIVE_LEVEL omp_get_active_level_ 2060b57cec5SDimitry Andric #define FTN_GET_LEVEL omp_get_level_ 2070b57cec5SDimitry Andric #define FTN_GET_ANCESTOR_THREAD_NUM omp_get_ancestor_thread_num_ 2080b57cec5SDimitry Andric #define FTN_GET_TEAM_SIZE omp_get_team_size_ 2090b57cec5SDimitry Andric #define FTN_IN_FINAL omp_in_final_ 2100b57cec5SDimitry Andric #define FTN_GET_PROC_BIND omp_get_proc_bind_ 2110b57cec5SDimitry Andric #define FTN_GET_NUM_TEAMS omp_get_num_teams_ 2120b57cec5SDimitry Andric #define FTN_GET_TEAM_NUM omp_get_team_num_ 2130b57cec5SDimitry Andric #define FTN_INIT_LOCK omp_init_lock_ 2140b57cec5SDimitry Andric #if KMP_USE_DYNAMIC_LOCK 2150b57cec5SDimitry Andric #define FTN_INIT_LOCK_WITH_HINT omp_init_lock_with_hint_ 2160b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK_WITH_HINT omp_init_nest_lock_with_hint_ 2170b57cec5SDimitry Andric #endif 2180b57cec5SDimitry Andric #define FTN_DESTROY_LOCK omp_destroy_lock_ 2190b57cec5SDimitry Andric #define FTN_SET_LOCK omp_set_lock_ 2200b57cec5SDimitry Andric #define FTN_UNSET_LOCK omp_unset_lock_ 2210b57cec5SDimitry Andric #define FTN_TEST_LOCK omp_test_lock_ 2220b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK omp_init_nest_lock_ 2230b57cec5SDimitry Andric #define FTN_DESTROY_NEST_LOCK omp_destroy_nest_lock_ 2240b57cec5SDimitry Andric #define FTN_SET_NEST_LOCK omp_set_nest_lock_ 2250b57cec5SDimitry Andric #define FTN_UNSET_NEST_LOCK omp_unset_nest_lock_ 2260b57cec5SDimitry Andric #define FTN_TEST_NEST_LOCK omp_test_nest_lock_ 2270b57cec5SDimitry Andric 2280b57cec5SDimitry Andric #define FTN_SET_WARNINGS_ON kmp_set_warnings_on_ 2290b57cec5SDimitry Andric #define FTN_SET_WARNINGS_OFF kmp_set_warnings_off_ 2300b57cec5SDimitry Andric 2310b57cec5SDimitry Andric #define FTN_GET_WTIME omp_get_wtime_ 2320b57cec5SDimitry Andric #define FTN_GET_WTICK omp_get_wtick_ 2330b57cec5SDimitry Andric 2340b57cec5SDimitry Andric #define FTN_GET_NUM_DEVICES omp_get_num_devices_ 2350b57cec5SDimitry Andric #define FTN_GET_DEFAULT_DEVICE omp_get_default_device_ 2360b57cec5SDimitry Andric #define FTN_SET_DEFAULT_DEVICE omp_set_default_device_ 2370b57cec5SDimitry Andric #define FTN_IS_INITIAL_DEVICE omp_is_initial_device_ 2380b57cec5SDimitry Andric 2390b57cec5SDimitry Andric #define FTN_GET_CANCELLATION omp_get_cancellation_ 2400b57cec5SDimitry Andric #define FTN_GET_CANCELLATION_STATUS kmp_get_cancellation_status_ 2410b57cec5SDimitry Andric 2420b57cec5SDimitry Andric #define FTN_GET_MAX_TASK_PRIORITY omp_get_max_task_priority_ 2430b57cec5SDimitry Andric #define FTN_GET_NUM_PLACES omp_get_num_places_ 2440b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM_PROCS omp_get_place_num_procs_ 2450b57cec5SDimitry Andric #define FTN_GET_PLACE_PROC_IDS omp_get_place_proc_ids_ 2460b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM omp_get_place_num_ 2470b57cec5SDimitry Andric #define FTN_GET_PARTITION_NUM_PLACES omp_get_partition_num_places_ 2480b57cec5SDimitry Andric #define FTN_GET_PARTITION_PLACE_NUMS omp_get_partition_place_nums_ 2490b57cec5SDimitry Andric #define FTN_GET_INITIAL_DEVICE omp_get_initial_device_ 2500b57cec5SDimitry Andric #ifdef KMP_STUB 2510b57cec5SDimitry Andric #define FTN_TARGET_ALLOC omp_target_alloc_ 2520b57cec5SDimitry Andric #define FTN_TARGET_FREE omp_target_free_ 2530b57cec5SDimitry Andric #define FTN_TARGET_IS_PRESENT omp_target_is_present_ 2540b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY omp_target_memcpy_ 2550b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY_RECT omp_target_memcpy_rect_ 2560b57cec5SDimitry Andric #define FTN_TARGET_ASSOCIATE_PTR omp_target_associate_ptr_ 2570b57cec5SDimitry Andric #define FTN_TARGET_DISASSOCIATE_PTR omp_target_disassociate_ptr_ 2580b57cec5SDimitry Andric #endif 2590b57cec5SDimitry Andric 2600b57cec5SDimitry Andric #define FTN_CONTROL_TOOL omp_control_tool_ 2610b57cec5SDimitry Andric #define FTN_INIT_ALLOCATOR omp_init_allocator_ 2620b57cec5SDimitry Andric #define FTN_DESTROY_ALLOCATOR omp_destroy_allocator_ 2630b57cec5SDimitry Andric #define FTN_SET_DEFAULT_ALLOCATOR omp_set_default_allocator_ 2640b57cec5SDimitry Andric #define FTN_GET_DEFAULT_ALLOCATOR omp_get_default_allocator_ 2650b57cec5SDimitry Andric #define FTN_ALLOC omp_alloc_ 2660b57cec5SDimitry Andric #define FTN_FREE omp_free_ 2670b57cec5SDimitry Andric #define FTN_GET_DEVICE_NUM omp_get_device_num_ 2680b57cec5SDimitry Andric #define FTN_SET_AFFINITY_FORMAT omp_set_affinity_format_ 2690b57cec5SDimitry Andric #define FTN_GET_AFFINITY_FORMAT omp_get_affinity_format_ 2700b57cec5SDimitry Andric #define FTN_DISPLAY_AFFINITY omp_display_affinity_ 2710b57cec5SDimitry Andric #define FTN_CAPTURE_AFFINITY omp_capture_affinity_ 2720b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE omp_pause_resource_ 2730b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE_ALL omp_pause_resource_all_ 2740b57cec5SDimitry Andric #define FTN_GET_SUPPORTED_ACTIVE_LEVELS omp_get_supported_active_levels_ 2755ffd83dbSDimitry Andric #define FTN_DISPLAY_ENV omp_display_env_ 27681ad6265SDimitry Andric #define FTN_IN_EXPLICIT_TASK omp_in_explicit_task_ 2770b57cec5SDimitry Andric #define FTN_FULFILL_EVENT omp_fulfill_event_ 278fe6060f1SDimitry Andric #define FTN_SET_NUM_TEAMS omp_set_num_teams_ 279fe6060f1SDimitry Andric #define FTN_GET_MAX_TEAMS omp_get_max_teams_ 280fe6060f1SDimitry Andric #define FTN_SET_TEAMS_THREAD_LIMIT omp_set_teams_thread_limit_ 281fe6060f1SDimitry Andric #define FTN_GET_TEAMS_THREAD_LIMIT omp_get_teams_thread_limit_ 2820b57cec5SDimitry Andric 2831fd87a68SDimitry Andric #define FTN_GET_NUM_INTEROP_PROPERTIES omp_get_num_interop_properties_ 2841fd87a68SDimitry Andric #define FTN_GET_INTEROP_INT omp_get_interop_int_ 2851fd87a68SDimitry Andric #define FTN_GET_INTEROP_PTR omp_get_interop_ptr_ 2861fd87a68SDimitry Andric #define FTN_GET_INTEROP_STR omp_get_interop_str_ 2871fd87a68SDimitry Andric #define FTN_GET_INTEROP_NAME omp_get_interop_name_ 2881fd87a68SDimitry Andric #define FTN_GET_INTEROP_TYPE_DESC omp_get_interop_type_desc_ 2891fd87a68SDimitry Andric #define FTN_GET_INTEROP_RC_DESC omp_get_interop_rc_desc_ 2901fd87a68SDimitry Andric 2910b57cec5SDimitry Andric #endif /* KMP_FTN_APPEND */ 2920b57cec5SDimitry Andric 2930b57cec5SDimitry Andric /* ------------------------------------------------------------------------ */ 2940b57cec5SDimitry Andric 2950b57cec5SDimitry Andric #if KMP_FTN_ENTRIES == KMP_FTN_UPPER 2960b57cec5SDimitry Andric 2970b57cec5SDimitry Andric #define FTN_SET_STACKSIZE KMP_SET_STACKSIZE 2980b57cec5SDimitry Andric #define FTN_SET_STACKSIZE_S KMP_SET_STACKSIZE_S 2990b57cec5SDimitry Andric #define FTN_GET_STACKSIZE KMP_GET_STACKSIZE 3000b57cec5SDimitry Andric #define FTN_GET_STACKSIZE_S KMP_GET_STACKSIZE_S 3010b57cec5SDimitry Andric #define FTN_SET_BLOCKTIME KMP_SET_BLOCKTIME 3020b57cec5SDimitry Andric #define FTN_GET_BLOCKTIME KMP_GET_BLOCKTIME 3030b57cec5SDimitry Andric #define FTN_SET_LIBRARY_SERIAL KMP_SET_LIBRARY_SERIAL 3040b57cec5SDimitry Andric #define FTN_SET_LIBRARY_TURNAROUND KMP_SET_LIBRARY_TURNAROUND 3050b57cec5SDimitry Andric #define FTN_SET_LIBRARY_THROUGHPUT KMP_SET_LIBRARY_THROUGHPUT 3060b57cec5SDimitry Andric #define FTN_SET_LIBRARY KMP_SET_LIBRARY 3070b57cec5SDimitry Andric #define FTN_GET_LIBRARY KMP_GET_LIBRARY 3080b57cec5SDimitry Andric #define FTN_SET_DEFAULTS KMP_SET_DEFAULTS 3090b57cec5SDimitry Andric #define FTN_SET_DISP_NUM_BUFFERS KMP_SET_DISP_NUM_BUFFERS 3100b57cec5SDimitry Andric #define FTN_SET_AFFINITY KMP_SET_AFFINITY 3110b57cec5SDimitry Andric #define FTN_GET_AFFINITY KMP_GET_AFFINITY 3120b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MAX_PROC KMP_GET_AFFINITY_MAX_PROC 3130b57cec5SDimitry Andric #define FTN_CREATE_AFFINITY_MASK KMP_CREATE_AFFINITY_MASK 3140b57cec5SDimitry Andric #define FTN_DESTROY_AFFINITY_MASK KMP_DESTROY_AFFINITY_MASK 3150b57cec5SDimitry Andric #define FTN_SET_AFFINITY_MASK_PROC KMP_SET_AFFINITY_MASK_PROC 3160b57cec5SDimitry Andric #define FTN_UNSET_AFFINITY_MASK_PROC KMP_UNSET_AFFINITY_MASK_PROC 3170b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MASK_PROC KMP_GET_AFFINITY_MASK_PROC 3180b57cec5SDimitry Andric 3190b57cec5SDimitry Andric #define FTN_MALLOC KMP_MALLOC 3200b57cec5SDimitry Andric #define FTN_ALIGNED_MALLOC KMP_ALIGNED_MALLOC 3210b57cec5SDimitry Andric #define FTN_CALLOC KMP_CALLOC 3220b57cec5SDimitry Andric #define FTN_REALLOC KMP_REALLOC 3230b57cec5SDimitry Andric #define FTN_KFREE KMP_FREE 3240b57cec5SDimitry Andric 3250b57cec5SDimitry Andric #define FTN_GET_NUM_KNOWN_THREADS KMP_GET_NUM_KNOWN_THREADS 3260b57cec5SDimitry Andric 3270b57cec5SDimitry Andric #define FTN_SET_NUM_THREADS OMP_SET_NUM_THREADS 3280b57cec5SDimitry Andric #define FTN_GET_NUM_THREADS OMP_GET_NUM_THREADS 3290b57cec5SDimitry Andric #define FTN_GET_MAX_THREADS OMP_GET_MAX_THREADS 3300b57cec5SDimitry Andric #define FTN_GET_THREAD_NUM OMP_GET_THREAD_NUM 3310b57cec5SDimitry Andric #define FTN_GET_NUM_PROCS OMP_GET_NUM_PROCS 3320b57cec5SDimitry Andric #define FTN_SET_DYNAMIC OMP_SET_DYNAMIC 3330b57cec5SDimitry Andric #define FTN_GET_DYNAMIC OMP_GET_DYNAMIC 3340b57cec5SDimitry Andric #define FTN_SET_NESTED OMP_SET_NESTED 3350b57cec5SDimitry Andric #define FTN_GET_NESTED OMP_GET_NESTED 3360b57cec5SDimitry Andric #define FTN_IN_PARALLEL OMP_IN_PARALLEL 3370b57cec5SDimitry Andric #define FTN_GET_THREAD_LIMIT OMP_GET_THREAD_LIMIT 3380b57cec5SDimitry Andric #define FTN_SET_SCHEDULE OMP_SET_SCHEDULE 3390b57cec5SDimitry Andric #define FTN_GET_SCHEDULE OMP_GET_SCHEDULE 3400b57cec5SDimitry Andric #define FTN_SET_MAX_ACTIVE_LEVELS OMP_SET_MAX_ACTIVE_LEVELS 3410b57cec5SDimitry Andric #define FTN_GET_MAX_ACTIVE_LEVELS OMP_GET_MAX_ACTIVE_LEVELS 3420b57cec5SDimitry Andric #define FTN_GET_ACTIVE_LEVEL OMP_GET_ACTIVE_LEVEL 3430b57cec5SDimitry Andric #define FTN_GET_LEVEL OMP_GET_LEVEL 3440b57cec5SDimitry Andric #define FTN_GET_ANCESTOR_THREAD_NUM OMP_GET_ANCESTOR_THREAD_NUM 3450b57cec5SDimitry Andric #define FTN_GET_TEAM_SIZE OMP_GET_TEAM_SIZE 3460b57cec5SDimitry Andric #define FTN_IN_FINAL OMP_IN_FINAL 3470b57cec5SDimitry Andric #define FTN_GET_PROC_BIND OMP_GET_PROC_BIND 3480b57cec5SDimitry Andric #define FTN_GET_NUM_TEAMS OMP_GET_NUM_TEAMS 3490b57cec5SDimitry Andric #define FTN_GET_TEAM_NUM OMP_GET_TEAM_NUM 3500b57cec5SDimitry Andric #define FTN_INIT_LOCK OMP_INIT_LOCK 3510b57cec5SDimitry Andric #if KMP_USE_DYNAMIC_LOCK 3520b57cec5SDimitry Andric #define FTN_INIT_LOCK_WITH_HINT OMP_INIT_LOCK_WITH_HINT 3530b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK_WITH_HINT OMP_INIT_NEST_LOCK_WITH_HINT 3540b57cec5SDimitry Andric #endif 3550b57cec5SDimitry Andric #define FTN_DESTROY_LOCK OMP_DESTROY_LOCK 3560b57cec5SDimitry Andric #define FTN_SET_LOCK OMP_SET_LOCK 3570b57cec5SDimitry Andric #define FTN_UNSET_LOCK OMP_UNSET_LOCK 3580b57cec5SDimitry Andric #define FTN_TEST_LOCK OMP_TEST_LOCK 3590b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK OMP_INIT_NEST_LOCK 3600b57cec5SDimitry Andric #define FTN_DESTROY_NEST_LOCK OMP_DESTROY_NEST_LOCK 3610b57cec5SDimitry Andric #define FTN_SET_NEST_LOCK OMP_SET_NEST_LOCK 3620b57cec5SDimitry Andric #define FTN_UNSET_NEST_LOCK OMP_UNSET_NEST_LOCK 3630b57cec5SDimitry Andric #define FTN_TEST_NEST_LOCK OMP_TEST_NEST_LOCK 3640b57cec5SDimitry Andric 3650b57cec5SDimitry Andric #define FTN_SET_WARNINGS_ON KMP_SET_WARNINGS_ON 3660b57cec5SDimitry Andric #define FTN_SET_WARNINGS_OFF KMP_SET_WARNINGS_OFF 3670b57cec5SDimitry Andric 3680b57cec5SDimitry Andric #define FTN_GET_WTIME OMP_GET_WTIME 3690b57cec5SDimitry Andric #define FTN_GET_WTICK OMP_GET_WTICK 3700b57cec5SDimitry Andric 3710b57cec5SDimitry Andric #define FTN_GET_NUM_DEVICES OMP_GET_NUM_DEVICES 3720b57cec5SDimitry Andric #define FTN_GET_DEFAULT_DEVICE OMP_GET_DEFAULT_DEVICE 3730b57cec5SDimitry Andric #define FTN_SET_DEFAULT_DEVICE OMP_SET_DEFAULT_DEVICE 3740b57cec5SDimitry Andric #define FTN_IS_INITIAL_DEVICE OMP_IS_INITIAL_DEVICE 3750b57cec5SDimitry Andric 3760b57cec5SDimitry Andric #define FTN_GET_CANCELLATION OMP_GET_CANCELLATION 3770b57cec5SDimitry Andric #define FTN_GET_CANCELLATION_STATUS KMP_GET_CANCELLATION_STATUS 3780b57cec5SDimitry Andric 3790b57cec5SDimitry Andric #define FTN_GET_MAX_TASK_PRIORITY OMP_GET_MAX_TASK_PRIORITY 3800b57cec5SDimitry Andric #define FTN_GET_NUM_PLACES OMP_GET_NUM_PLACES 3810b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM_PROCS OMP_GET_PLACE_NUM_PROCS 3820b57cec5SDimitry Andric #define FTN_GET_PLACE_PROC_IDS OMP_GET_PLACE_PROC_IDS 3830b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM OMP_GET_PLACE_NUM 3840b57cec5SDimitry Andric #define FTN_GET_PARTITION_NUM_PLACES OMP_GET_PARTITION_NUM_PLACES 3850b57cec5SDimitry Andric #define FTN_GET_PARTITION_PLACE_NUMS OMP_GET_PARTITION_PLACE_NUMS 3860b57cec5SDimitry Andric #define FTN_GET_INITIAL_DEVICE OMP_GET_INITIAL_DEVICE 3870b57cec5SDimitry Andric #ifdef KMP_STUB 3880b57cec5SDimitry Andric #define FTN_TARGET_ALLOC OMP_TARGET_ALLOC 3890b57cec5SDimitry Andric #define FTN_TARGET_FREE OMP_TARGET_FREE 3900b57cec5SDimitry Andric #define FTN_TARGET_IS_PRESENT OMP_TARGET_IS_PRESENT 3910b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY OMP_TARGET_MEMCPY 3920b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY_RECT OMP_TARGET_MEMCPY_RECT 3930b57cec5SDimitry Andric #define FTN_TARGET_ASSOCIATE_PTR OMP_TARGET_ASSOCIATE_PTR 3940b57cec5SDimitry Andric #define FTN_TARGET_DISASSOCIATE_PTR OMP_TARGET_DISASSOCIATE_PTR 3950b57cec5SDimitry Andric #endif 3960b57cec5SDimitry Andric 3970b57cec5SDimitry Andric #define FTN_CONTROL_TOOL OMP_CONTROL_TOOL 3980b57cec5SDimitry Andric #define FTN_INIT_ALLOCATOR OMP_INIT_ALLOCATOR 3990b57cec5SDimitry Andric #define FTN_DESTROY_ALLOCATOR OMP_DESTROY_ALLOCATOR 4000b57cec5SDimitry Andric #define FTN_SET_DEFAULT_ALLOCATOR OMP_SET_DEFAULT_ALLOCATOR 4010b57cec5SDimitry Andric #define FTN_GET_DEFAULT_ALLOCATOR OMP_GET_DEFAULT_ALLOCATOR 4020b57cec5SDimitry Andric #define FTN_GET_DEVICE_NUM OMP_GET_DEVICE_NUM 4030b57cec5SDimitry Andric #define FTN_SET_AFFINITY_FORMAT OMP_SET_AFFINITY_FORMAT 4040b57cec5SDimitry Andric #define FTN_GET_AFFINITY_FORMAT OMP_GET_AFFINITY_FORMAT 4050b57cec5SDimitry Andric #define FTN_DISPLAY_AFFINITY OMP_DISPLAY_AFFINITY 4060b57cec5SDimitry Andric #define FTN_CAPTURE_AFFINITY OMP_CAPTURE_AFFINITY 4070b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE OMP_PAUSE_RESOURCE 4080b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE_ALL OMP_PAUSE_RESOURCE_ALL 4090b57cec5SDimitry Andric #define FTN_GET_SUPPORTED_ACTIVE_LEVELS OMP_GET_SUPPORTED_ACTIVE_LEVELS 4105ffd83dbSDimitry Andric #define FTN_DISPLAY_ENV OMP_DISPLAY_ENV 41181ad6265SDimitry Andric #define FTN_IN_EXPLICIT_TASK OMP_IN_EXPLICIT_TASK 4120b57cec5SDimitry Andric #define FTN_FULFILL_EVENT OMP_FULFILL_EVENT 413fe6060f1SDimitry Andric #define FTN_SET_NUM_TEAMS OMP_SET_NUM_TEAMS 414fe6060f1SDimitry Andric #define FTN_GET_MAX_TEAMS OMP_GET_MAX_TEAMS 415fe6060f1SDimitry Andric #define FTN_SET_TEAMS_THREAD_LIMIT OMP_SET_TEAMS_THREAD_LIMIT 416fe6060f1SDimitry Andric #define FTN_GET_TEAMS_THREAD_LIMIT OMP_GET_TEAMS_THREAD_LIMIT 4170b57cec5SDimitry Andric 4181fd87a68SDimitry Andric #define FTN_GET_NUM_INTEROP_PROPERTIES OMP_GET_NUM_INTEROP_PROPERTIES 4191fd87a68SDimitry Andric #define FTN_GET_INTEROP_INT OMP_GET_INTEROP_INT 4201fd87a68SDimitry Andric #define FTN_GET_INTEROP_PTR OMP_GET_INTEROP_PTR 4211fd87a68SDimitry Andric #define FTN_GET_INTEROP_STR OMP_GET_INTEROP_STR 4221fd87a68SDimitry Andric #define FTN_GET_INTEROP_NAME OMP_GET_INTEROP_NAME 4231fd87a68SDimitry Andric #define FTN_GET_INTEROP_TYPE_DESC OMP_GET_INTEROP_TYPE_DESC 4241fd87a68SDimitry Andric #define FTN_GET_INTEROP_RC_DESC OMP_GET_INTEROP_RC_DESC 4251fd87a68SDimitry Andric 4260b57cec5SDimitry Andric #endif /* KMP_FTN_UPPER */ 4270b57cec5SDimitry Andric 4280b57cec5SDimitry Andric /* ------------------------------------------------------------------------ */ 4290b57cec5SDimitry Andric 4300b57cec5SDimitry Andric #if KMP_FTN_ENTRIES == KMP_FTN_UAPPEND 4310b57cec5SDimitry Andric 4320b57cec5SDimitry Andric #define FTN_SET_STACKSIZE KMP_SET_STACKSIZE_ 4330b57cec5SDimitry Andric #define FTN_SET_STACKSIZE_S KMP_SET_STACKSIZE_S_ 4340b57cec5SDimitry Andric #define FTN_GET_STACKSIZE KMP_GET_STACKSIZE_ 4350b57cec5SDimitry Andric #define FTN_GET_STACKSIZE_S KMP_GET_STACKSIZE_S_ 4360b57cec5SDimitry Andric #define FTN_SET_BLOCKTIME KMP_SET_BLOCKTIME_ 4370b57cec5SDimitry Andric #define FTN_GET_BLOCKTIME KMP_GET_BLOCKTIME_ 4380b57cec5SDimitry Andric #define FTN_SET_LIBRARY_SERIAL KMP_SET_LIBRARY_SERIAL_ 4390b57cec5SDimitry Andric #define FTN_SET_LIBRARY_TURNAROUND KMP_SET_LIBRARY_TURNAROUND_ 4400b57cec5SDimitry Andric #define FTN_SET_LIBRARY_THROUGHPUT KMP_SET_LIBRARY_THROUGHPUT_ 4410b57cec5SDimitry Andric #define FTN_SET_LIBRARY KMP_SET_LIBRARY_ 4420b57cec5SDimitry Andric #define FTN_GET_LIBRARY KMP_GET_LIBRARY_ 4430b57cec5SDimitry Andric #define FTN_SET_DEFAULTS KMP_SET_DEFAULTS_ 4440b57cec5SDimitry Andric #define FTN_SET_DISP_NUM_BUFFERS KMP_SET_DISP_NUM_BUFFERS_ 4450b57cec5SDimitry Andric #define FTN_SET_AFFINITY KMP_SET_AFFINITY_ 4460b57cec5SDimitry Andric #define FTN_GET_AFFINITY KMP_GET_AFFINITY_ 4470b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MAX_PROC KMP_GET_AFFINITY_MAX_PROC_ 4480b57cec5SDimitry Andric #define FTN_CREATE_AFFINITY_MASK KMP_CREATE_AFFINITY_MASK_ 4490b57cec5SDimitry Andric #define FTN_DESTROY_AFFINITY_MASK KMP_DESTROY_AFFINITY_MASK_ 4500b57cec5SDimitry Andric #define FTN_SET_AFFINITY_MASK_PROC KMP_SET_AFFINITY_MASK_PROC_ 4510b57cec5SDimitry Andric #define FTN_UNSET_AFFINITY_MASK_PROC KMP_UNSET_AFFINITY_MASK_PROC_ 4520b57cec5SDimitry Andric #define FTN_GET_AFFINITY_MASK_PROC KMP_GET_AFFINITY_MASK_PROC_ 4530b57cec5SDimitry Andric 4540b57cec5SDimitry Andric #define FTN_MALLOC KMP_MALLOC_ 4550b57cec5SDimitry Andric #define FTN_ALIGNED_MALLOC KMP_ALIGNED_MALLOC_ 4560b57cec5SDimitry Andric #define FTN_CALLOC KMP_CALLOC_ 4570b57cec5SDimitry Andric #define FTN_REALLOC KMP_REALLOC_ 4580b57cec5SDimitry Andric #define FTN_KFREE KMP_FREE_ 4590b57cec5SDimitry Andric 4600b57cec5SDimitry Andric #define FTN_GET_NUM_KNOWN_THREADS KMP_GET_NUM_KNOWN_THREADS_ 4610b57cec5SDimitry Andric 4620b57cec5SDimitry Andric #define FTN_SET_NUM_THREADS OMP_SET_NUM_THREADS_ 4630b57cec5SDimitry Andric #define FTN_GET_NUM_THREADS OMP_GET_NUM_THREADS_ 4640b57cec5SDimitry Andric #define FTN_GET_MAX_THREADS OMP_GET_MAX_THREADS_ 4650b57cec5SDimitry Andric #define FTN_GET_THREAD_NUM OMP_GET_THREAD_NUM_ 4660b57cec5SDimitry Andric #define FTN_GET_NUM_PROCS OMP_GET_NUM_PROCS_ 4670b57cec5SDimitry Andric #define FTN_SET_DYNAMIC OMP_SET_DYNAMIC_ 4680b57cec5SDimitry Andric #define FTN_GET_DYNAMIC OMP_GET_DYNAMIC_ 4690b57cec5SDimitry Andric #define FTN_SET_NESTED OMP_SET_NESTED_ 4700b57cec5SDimitry Andric #define FTN_GET_NESTED OMP_GET_NESTED_ 4710b57cec5SDimitry Andric #define FTN_IN_PARALLEL OMP_IN_PARALLEL_ 4720b57cec5SDimitry Andric #define FTN_GET_THREAD_LIMIT OMP_GET_THREAD_LIMIT_ 4730b57cec5SDimitry Andric #define FTN_SET_SCHEDULE OMP_SET_SCHEDULE_ 4740b57cec5SDimitry Andric #define FTN_GET_SCHEDULE OMP_GET_SCHEDULE_ 4750b57cec5SDimitry Andric #define FTN_SET_MAX_ACTIVE_LEVELS OMP_SET_MAX_ACTIVE_LEVELS_ 4760b57cec5SDimitry Andric #define FTN_GET_MAX_ACTIVE_LEVELS OMP_GET_MAX_ACTIVE_LEVELS_ 4770b57cec5SDimitry Andric #define FTN_GET_ACTIVE_LEVEL OMP_GET_ACTIVE_LEVEL_ 4780b57cec5SDimitry Andric #define FTN_GET_LEVEL OMP_GET_LEVEL_ 4790b57cec5SDimitry Andric #define FTN_GET_ANCESTOR_THREAD_NUM OMP_GET_ANCESTOR_THREAD_NUM_ 4800b57cec5SDimitry Andric #define FTN_GET_TEAM_SIZE OMP_GET_TEAM_SIZE_ 4810b57cec5SDimitry Andric #define FTN_IN_FINAL OMP_IN_FINAL_ 4820b57cec5SDimitry Andric #define FTN_GET_PROC_BIND OMP_GET_PROC_BIND_ 4830b57cec5SDimitry Andric #define FTN_GET_NUM_TEAMS OMP_GET_NUM_TEAMS_ 4840b57cec5SDimitry Andric #define FTN_GET_TEAM_NUM OMP_GET_TEAM_NUM_ 4850b57cec5SDimitry Andric #define FTN_INIT_LOCK OMP_INIT_LOCK_ 4860b57cec5SDimitry Andric #if KMP_USE_DYNAMIC_LOCK 4870b57cec5SDimitry Andric #define FTN_INIT_LOCK_WITH_HINT OMP_INIT_LOCK_WITH_HINT_ 4880b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK_WITH_HINT OMP_INIT_NEST_LOCK_WITH_HINT_ 4890b57cec5SDimitry Andric #endif 4900b57cec5SDimitry Andric #define FTN_DESTROY_LOCK OMP_DESTROY_LOCK_ 4910b57cec5SDimitry Andric #define FTN_SET_LOCK OMP_SET_LOCK_ 4920b57cec5SDimitry Andric #define FTN_UNSET_LOCK OMP_UNSET_LOCK_ 4930b57cec5SDimitry Andric #define FTN_TEST_LOCK OMP_TEST_LOCK_ 4940b57cec5SDimitry Andric #define FTN_INIT_NEST_LOCK OMP_INIT_NEST_LOCK_ 4950b57cec5SDimitry Andric #define FTN_DESTROY_NEST_LOCK OMP_DESTROY_NEST_LOCK_ 4960b57cec5SDimitry Andric #define FTN_SET_NEST_LOCK OMP_SET_NEST_LOCK_ 4970b57cec5SDimitry Andric #define FTN_UNSET_NEST_LOCK OMP_UNSET_NEST_LOCK_ 4980b57cec5SDimitry Andric #define FTN_TEST_NEST_LOCK OMP_TEST_NEST_LOCK_ 4990b57cec5SDimitry Andric 5000b57cec5SDimitry Andric #define FTN_SET_WARNINGS_ON KMP_SET_WARNINGS_ON_ 5010b57cec5SDimitry Andric #define FTN_SET_WARNINGS_OFF KMP_SET_WARNINGS_OFF_ 5020b57cec5SDimitry Andric 5030b57cec5SDimitry Andric #define FTN_GET_WTIME OMP_GET_WTIME_ 5040b57cec5SDimitry Andric #define FTN_GET_WTICK OMP_GET_WTICK_ 5050b57cec5SDimitry Andric 5060b57cec5SDimitry Andric #define FTN_GET_NUM_DEVICES OMP_GET_NUM_DEVICES_ 5070b57cec5SDimitry Andric #define FTN_GET_DEFAULT_DEVICE OMP_GET_DEFAULT_DEVICE_ 5080b57cec5SDimitry Andric #define FTN_SET_DEFAULT_DEVICE OMP_SET_DEFAULT_DEVICE_ 5090b57cec5SDimitry Andric #define FTN_IS_INITIAL_DEVICE OMP_IS_INITIAL_DEVICE_ 5100b57cec5SDimitry Andric 5110b57cec5SDimitry Andric #define FTN_GET_CANCELLATION OMP_GET_CANCELLATION_ 5120b57cec5SDimitry Andric #define FTN_GET_CANCELLATION_STATUS KMP_GET_CANCELLATION_STATUS_ 5130b57cec5SDimitry Andric 5140b57cec5SDimitry Andric #define FTN_GET_MAX_TASK_PRIORITY OMP_GET_MAX_TASK_PRIORITY_ 5150b57cec5SDimitry Andric #define FTN_GET_NUM_PLACES OMP_GET_NUM_PLACES_ 5160b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM_PROCS OMP_GET_PLACE_NUM_PROCS_ 5170b57cec5SDimitry Andric #define FTN_GET_PLACE_PROC_IDS OMP_GET_PLACE_PROC_IDS_ 5180b57cec5SDimitry Andric #define FTN_GET_PLACE_NUM OMP_GET_PLACE_NUM_ 5190b57cec5SDimitry Andric #define FTN_GET_PARTITION_NUM_PLACES OMP_GET_PARTITION_NUM_PLACES_ 5200b57cec5SDimitry Andric #define FTN_GET_PARTITION_PLACE_NUMS OMP_GET_PARTITION_PLACE_NUMS_ 5210b57cec5SDimitry Andric #define FTN_GET_INITIAL_DEVICE OMP_GET_INITIAL_DEVICE_ 5220b57cec5SDimitry Andric #ifdef KMP_STUB 5230b57cec5SDimitry Andric #define FTN_TARGET_ALLOC OMP_TARGET_ALLOC_ 5240b57cec5SDimitry Andric #define FTN_TARGET_FREE OMP_TARGET_FREE_ 5250b57cec5SDimitry Andric #define FTN_TARGET_IS_PRESENT OMP_TARGET_IS_PRESENT_ 5260b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY OMP_TARGET_MEMCPY_ 5270b57cec5SDimitry Andric #define FTN_TARGET_MEMCPY_RECT OMP_TARGET_MEMCPY_RECT_ 5280b57cec5SDimitry Andric #define FTN_TARGET_ASSOCIATE_PTR OMP_TARGET_ASSOCIATE_PTR_ 5290b57cec5SDimitry Andric #define FTN_TARGET_DISASSOCIATE_PTR OMP_TARGET_DISASSOCIATE_PTR_ 5300b57cec5SDimitry Andric #endif 5310b57cec5SDimitry Andric 5320b57cec5SDimitry Andric #define FTN_CONTROL_TOOL OMP_CONTROL_TOOL_ 5330b57cec5SDimitry Andric #define FTN_INIT_ALLOCATOR OMP_INIT_ALLOCATOR_ 5340b57cec5SDimitry Andric #define FTN_DESTROY_ALLOCATOR OMP_DESTROY_ALLOCATOR_ 5350b57cec5SDimitry Andric #define FTN_SET_DEFAULT_ALLOCATOR OMP_SET_DEFAULT_ALLOCATOR_ 5360b57cec5SDimitry Andric #define FTN_GET_DEFAULT_ALLOCATOR OMP_GET_DEFAULT_ALLOCATOR_ 5370b57cec5SDimitry Andric #define FTN_ALLOC OMP_ALLOC_ 5380b57cec5SDimitry Andric #define FTN_FREE OMP_FREE_ 5390b57cec5SDimitry Andric #define FTN_GET_DEVICE_NUM OMP_GET_DEVICE_NUM_ 5400b57cec5SDimitry Andric #define FTN_SET_AFFINITY_FORMAT OMP_SET_AFFINITY_FORMAT_ 5410b57cec5SDimitry Andric #define FTN_GET_AFFINITY_FORMAT OMP_GET_AFFINITY_FORMAT_ 5420b57cec5SDimitry Andric #define FTN_DISPLAY_AFFINITY OMP_DISPLAY_AFFINITY_ 5430b57cec5SDimitry Andric #define FTN_CAPTURE_AFFINITY OMP_CAPTURE_AFFINITY_ 5440b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE OMP_PAUSE_RESOURCE_ 5450b57cec5SDimitry Andric #define FTN_PAUSE_RESOURCE_ALL OMP_PAUSE_RESOURCE_ALL_ 5460b57cec5SDimitry Andric #define FTN_GET_SUPPORTED_ACTIVE_LEVELS OMP_GET_SUPPORTED_ACTIVE_LEVELS_ 5475ffd83dbSDimitry Andric #define FTN_DISPLAY_ENV OMP_DISPLAY_ENV_ 54881ad6265SDimitry Andric #define FTN_IN_EXPLICIT_TASK OMP_IN_EXPLICIT_TASK_ 5490b57cec5SDimitry Andric #define FTN_FULFILL_EVENT OMP_FULFILL_EVENT_ 550fe6060f1SDimitry Andric #define FTN_SET_NUM_TEAMS OMP_SET_NUM_TEAMS_ 551fe6060f1SDimitry Andric #define FTN_GET_MAX_TEAMS OMP_GET_MAX_TEAMS_ 552fe6060f1SDimitry Andric #define FTN_SET_TEAMS_THREAD_LIMIT OMP_SET_TEAMS_THREAD_LIMIT_ 553fe6060f1SDimitry Andric #define FTN_GET_TEAMS_THREAD_LIMIT OMP_GET_TEAMS_THREAD_LIMIT_ 5540b57cec5SDimitry Andric 5551fd87a68SDimitry Andric #define FTN_GET_NUM_INTEROP_PROPERTIES OMP_GET_NUM_INTEROP_PROPERTIES_ 5561fd87a68SDimitry Andric #define FTN_GET_INTEROP_INT OMP_GET_INTEROP_INT_ 5571fd87a68SDimitry Andric #define FTN_GET_INTEROP_PTR OMP_GET_INTEROP_PTR_ 5581fd87a68SDimitry Andric #define FTN_GET_INTEROP_STR OMP_GET_INTEROP_STR_ 5591fd87a68SDimitry Andric #define FTN_GET_INTEROP_NAME OMP_GET_INTEROP_NAME_ 5601fd87a68SDimitry Andric #define FTN_GET_INTEROP_TYPE_DESC OMP_GET_INTEROP_TYPE_DESC_ 5611fd87a68SDimitry Andric #define FTN_GET_INTEROP_RC_DESC OMP_GET_INTEROP_RC_DESC_ 5621fd87a68SDimitry Andric 5630b57cec5SDimitry Andric #endif /* KMP_FTN_UAPPEND */ 5640b57cec5SDimitry Andric 5650b57cec5SDimitry Andric /* -------------------------- GOMP API NAMES ------------------------ */ 5660b57cec5SDimitry Andric // All GOMP_1.0 symbols 5670b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_ATOMIC_END GOMP_atomic_end 5680b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_ATOMIC_START GOMP_atomic_start 5690b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_BARRIER GOMP_barrier 5700b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_CRITICAL_END GOMP_critical_end 5710b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_CRITICAL_NAME_END GOMP_critical_name_end 5720b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_CRITICAL_NAME_START GOMP_critical_name_start 5730b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_CRITICAL_START GOMP_critical_start 5740b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DYNAMIC_NEXT GOMP_loop_dynamic_next 5750b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DYNAMIC_START GOMP_loop_dynamic_start 5760b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_END GOMP_loop_end 5770b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_END_NOWAIT GOMP_loop_end_nowait 5780b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_GUIDED_NEXT GOMP_loop_guided_next 5790b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_GUIDED_START GOMP_loop_guided_start 5800b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_DYNAMIC_NEXT \ 5810b57cec5SDimitry Andric GOMP_loop_ordered_dynamic_next 5820b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_DYNAMIC_START \ 5830b57cec5SDimitry Andric GOMP_loop_ordered_dynamic_start 5840b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_GUIDED_NEXT GOMP_loop_ordered_guided_next 5850b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_GUIDED_START \ 5860b57cec5SDimitry Andric GOMP_loop_ordered_guided_start 5870b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_RUNTIME_NEXT \ 5880b57cec5SDimitry Andric GOMP_loop_ordered_runtime_next 5890b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_RUNTIME_START \ 5900b57cec5SDimitry Andric GOMP_loop_ordered_runtime_start 5910b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_STATIC_NEXT GOMP_loop_ordered_static_next 5920b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_STATIC_START \ 5930b57cec5SDimitry Andric GOMP_loop_ordered_static_start 5940b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_RUNTIME_NEXT GOMP_loop_runtime_next 5950b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_RUNTIME_START GOMP_loop_runtime_start 5960b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_STATIC_NEXT GOMP_loop_static_next 5970b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_STATIC_START GOMP_loop_static_start 5980b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_ORDERED_END GOMP_ordered_end 5990b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_ORDERED_START GOMP_ordered_start 6000b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_END GOMP_parallel_end 6010b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_DYNAMIC_START \ 6020b57cec5SDimitry Andric GOMP_parallel_loop_dynamic_start 6030b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_GUIDED_START \ 6040b57cec5SDimitry Andric GOMP_parallel_loop_guided_start 6050b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_RUNTIME_START \ 6060b57cec5SDimitry Andric GOMP_parallel_loop_runtime_start 6070b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_STATIC_START \ 6080b57cec5SDimitry Andric GOMP_parallel_loop_static_start 6090b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_SECTIONS_START GOMP_parallel_sections_start 6100b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_START GOMP_parallel_start 6110b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SECTIONS_END GOMP_sections_end 6120b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SECTIONS_END_NOWAIT GOMP_sections_end_nowait 6130b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SECTIONS_NEXT GOMP_sections_next 6140b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SECTIONS_START GOMP_sections_start 6150b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SINGLE_COPY_END GOMP_single_copy_end 6160b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SINGLE_COPY_START GOMP_single_copy_start 6170b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SINGLE_START GOMP_single_start 6180b57cec5SDimitry Andric 6190b57cec5SDimitry Andric // All GOMP_2.0 symbols 6200b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASK GOMP_task 6210b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASKWAIT GOMP_taskwait 6220b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DYNAMIC_NEXT GOMP_loop_ull_dynamic_next 6230b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DYNAMIC_START GOMP_loop_ull_dynamic_start 6240b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_GUIDED_NEXT GOMP_loop_ull_guided_next 6250b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_GUIDED_START GOMP_loop_ull_guided_start 6260b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT \ 6270b57cec5SDimitry Andric GOMP_loop_ull_ordered_dynamic_next 6280b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START \ 6290b57cec5SDimitry Andric GOMP_loop_ull_ordered_dynamic_start 6300b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_GUIDED_NEXT \ 6310b57cec5SDimitry Andric GOMP_loop_ull_ordered_guided_next 6320b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_GUIDED_START \ 6330b57cec5SDimitry Andric GOMP_loop_ull_ordered_guided_start 6340b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT \ 6350b57cec5SDimitry Andric GOMP_loop_ull_ordered_runtime_next 6360b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_RUNTIME_START \ 6370b57cec5SDimitry Andric GOMP_loop_ull_ordered_runtime_start 6380b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT \ 6390b57cec5SDimitry Andric GOMP_loop_ull_ordered_static_next 6400b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_STATIC_START \ 6410b57cec5SDimitry Andric GOMP_loop_ull_ordered_static_start 6420b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_RUNTIME_NEXT GOMP_loop_ull_runtime_next 6430b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_RUNTIME_START GOMP_loop_ull_runtime_start 6440b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_STATIC_NEXT GOMP_loop_ull_static_next 6450b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_STATIC_START GOMP_loop_ull_static_start 6460b57cec5SDimitry Andric 6470b57cec5SDimitry Andric // All GOMP_3.0 symbols 6480b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASKYIELD GOMP_taskyield 6490b57cec5SDimitry Andric 6500b57cec5SDimitry Andric // All GOMP_4.0 symbols 6510b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_BARRIER_CANCEL GOMP_barrier_cancel 6520b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_CANCEL GOMP_cancel 6530b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_CANCELLATION_POINT GOMP_cancellation_point 6540b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_END_CANCEL GOMP_loop_end_cancel 6550b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_DYNAMIC GOMP_parallel_loop_dynamic 6560b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_GUIDED GOMP_parallel_loop_guided 6570b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_RUNTIME GOMP_parallel_loop_runtime 6580b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_STATIC GOMP_parallel_loop_static 6590b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_SECTIONS GOMP_parallel_sections 6600b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL GOMP_parallel 6610b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_SECTIONS_END_CANCEL GOMP_sections_end_cancel 6620b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASKGROUP_START GOMP_taskgroup_start 6630b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASKGROUP_END GOMP_taskgroup_end 6640b57cec5SDimitry Andric /* Target functions should be taken care of by liboffload */ 6650b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TARGET GOMP_target 6660b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TARGET_DATA GOMP_target_data 6670b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TARGET_END_DATA GOMP_target_end_data 6680b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TARGET_UPDATE GOMP_target_update 6690b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TEAMS GOMP_teams 6700b57cec5SDimitry Andric 6710b57cec5SDimitry Andric // All GOMP_4.5 symbols 6720b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASKLOOP GOMP_taskloop 6730b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_TASKLOOP_ULL GOMP_taskloop_ull 6740b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_DOACROSS_POST GOMP_doacross_post 6750b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_DOACROSS_WAIT GOMP_doacross_wait 6760b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DOACROSS_STATIC_START \ 6770b57cec5SDimitry Andric GOMP_loop_doacross_static_start 6780b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DOACROSS_DYNAMIC_START \ 6790b57cec5SDimitry Andric GOMP_loop_doacross_dynamic_start 6800b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DOACROSS_GUIDED_START \ 6810b57cec5SDimitry Andric GOMP_loop_doacross_guided_start 6820b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DOACROSS_RUNTIME_START \ 6830b57cec5SDimitry Andric GOMP_loop_doacross_runtime_start 6840b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_DOACROSS_ULL_POST GOMP_doacross_ull_post 6850b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_DOACROSS_ULL_WAIT GOMP_doacross_ull_wait 6860b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_STATIC_START \ 6870b57cec5SDimitry Andric GOMP_loop_ull_doacross_static_start 6880b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_DYNAMIC_START \ 6890b57cec5SDimitry Andric GOMP_loop_ull_doacross_dynamic_start 6900b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_GUIDED_START \ 6910b57cec5SDimitry Andric GOMP_loop_ull_doacross_guided_start 6920b57cec5SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_RUNTIME_START \ 6930b57cec5SDimitry Andric GOMP_loop_ull_doacross_runtime_start 694489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_NONMONOTONIC_DYNAMIC_NEXT \ 695489b1cf2SDimitry Andric GOMP_loop_nonmonotonic_dynamic_next 696489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_NONMONOTONIC_DYNAMIC_START \ 697489b1cf2SDimitry Andric GOMP_loop_nonmonotonic_dynamic_start 698489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_NONMONOTONIC_GUIDED_NEXT \ 699489b1cf2SDimitry Andric GOMP_loop_nonmonotonic_guided_next 700489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_NONMONOTONIC_GUIDED_START \ 701489b1cf2SDimitry Andric GOMP_loop_nonmonotonic_guided_start 702489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_NEXT \ 703489b1cf2SDimitry Andric GOMP_loop_ull_nonmonotonic_dynamic_next 704489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_START \ 705489b1cf2SDimitry Andric GOMP_loop_ull_nonmonotonic_dynamic_start 706489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_NEXT \ 707489b1cf2SDimitry Andric GOMP_loop_ull_nonmonotonic_guided_next 708489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_START \ 709489b1cf2SDimitry Andric GOMP_loop_ull_nonmonotonic_guided_start 710489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_NONMONOTONIC_DYNAMIC \ 711489b1cf2SDimitry Andric GOMP_parallel_loop_nonmonotonic_dynamic 712489b1cf2SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_NONMONOTONIC_GUIDED \ 713489b1cf2SDimitry Andric GOMP_parallel_loop_nonmonotonic_guided 7140b57cec5SDimitry Andric 7155ffd83dbSDimitry Andric // All GOMP_5.0 symbols 7165ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_MAYBE_NONMONOTONIC_RUNTIME_NEXT \ 7175ffd83dbSDimitry Andric GOMP_loop_maybe_nonmonotonic_runtime_next 7185ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_MAYBE_NONMONOTONIC_RUNTIME_START \ 7195ffd83dbSDimitry Andric GOMP_loop_maybe_nonmonotonic_runtime_start 7205ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_NONMONOTONIC_RUNTIME_NEXT \ 7215ffd83dbSDimitry Andric GOMP_loop_nonmonotonic_runtime_next 7225ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_NONMONOTONIC_RUNTIME_START \ 7235ffd83dbSDimitry Andric GOMP_loop_nonmonotonic_runtime_start 7245ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_MAYBE_NONMONOTONIC_RUNTIME_NEXT \ 7255ffd83dbSDimitry Andric GOMP_loop_ull_maybe_nonmonotonic_runtime_next 7265ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_MAYBE_NONMONOTONIC_RUNTIME_START \ 7275ffd83dbSDimitry Andric GOMP_loop_ull_maybe_nonmonotonic_runtime_start 7285ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_NONMONOTONIC_RUNTIME_NEXT \ 7295ffd83dbSDimitry Andric GOMP_loop_ull_nonmonotonic_runtime_next 7305ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_NONMONOTONIC_RUNTIME_START \ 7315ffd83dbSDimitry Andric GOMP_loop_ull_nonmonotonic_runtime_start 7325ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_NONMONOTONIC_RUNTIME \ 7335ffd83dbSDimitry Andric GOMP_parallel_loop_nonmonotonic_runtime 7345ffd83dbSDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_LOOP_MAYBE_NONMONOTONIC_RUNTIME \ 7355ffd83dbSDimitry Andric GOMP_parallel_loop_maybe_nonmonotonic_runtime 736e8d8bef9SDimitry Andric #define KMP_API_NAME_GOMP_TEAMS_REG GOMP_teams_reg 737e8d8bef9SDimitry Andric #define KMP_API_NAME_GOMP_TASKWAIT_DEPEND GOMP_taskwait_depend 738fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_TASKGROUP_REDUCTION_REGISTER \ 739fe6060f1SDimitry Andric GOMP_taskgroup_reduction_register 740fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_TASKGROUP_REDUCTION_UNREGISTER \ 741fe6060f1SDimitry Andric GOMP_taskgroup_reduction_unregister 742fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_TASK_REDUCTION_REMAP GOMP_task_reduction_remap 743fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_PARALLEL_REDUCTIONS GOMP_parallel_reductions 744fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_START GOMP_loop_start 745fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_START GOMP_loop_ull_start 746fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_DOACROSS_START GOMP_loop_doacross_start 747fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_START GOMP_loop_ull_doacross_start 748fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ORDERED_START GOMP_loop_ordered_start 749fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_START GOMP_loop_ull_ordered_start 750fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_SECTIONS2_START GOMP_sections2_start 751fe6060f1SDimitry Andric #define KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER \ 752fe6060f1SDimitry Andric GOMP_workshare_task_reduction_unregister 753349cc55cSDimitry Andric #define KMP_API_NAME_GOMP_ALLOC GOMP_alloc 754349cc55cSDimitry Andric #define KMP_API_NAME_GOMP_FREE GOMP_free 7550b57cec5SDimitry Andric #endif /* KMP_FTN_OS_H */ 756