Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/omp.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 /** | |
| 2 * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 * This file is part of the w64 mingw-runtime package. | |
| 4 * No warranty is given; refer to the file DISCLAIMER within this package. | |
| 5 */ | |
| 6 #if defined(__cplusplus) | |
| 7 extern "C" { | |
| 8 #endif | |
| 9 | |
| 10 #define _OMPAPI __cdecl | |
| 11 | |
| 12 #if !defined(_OMP_LOCK_T) | |
| 13 #define _OMP_LOCK_T | |
| 14 typedef void *omp_lock_t; | |
| 15 #endif | |
| 16 | |
| 17 #if !defined(_OMP_NEST_LOCK_T) | |
| 18 #define _OMP_NEST_LOCK_T | |
| 19 typedef void *omp_nest_lock_t; | |
| 20 #endif | |
| 21 | |
| 22 #if !defined(_OMPIMP) | |
| 23 #define _OMPIMP __declspec(dllimport) | |
| 24 #endif | |
| 25 | |
| 26 _OMPIMP void _OMPAPI omp_set_num_threads(int _Num_threads); | |
| 27 _OMPIMP int _OMPAPI omp_get_num_threads(void); | |
| 28 _OMPIMP int _OMPAPI omp_get_max_threads(void); | |
| 29 _OMPIMP int _OMPAPI omp_get_thread_num(void); | |
| 30 _OMPIMP int _OMPAPI omp_get_num_procs(void); | |
| 31 _OMPIMP void _OMPAPI omp_set_dynamic(int _Dynamic_threads); | |
| 32 _OMPIMP int _OMPAPI omp_get_dynamic(void); | |
| 33 _OMPIMP int _OMPAPI omp_in_parallel(void); | |
| 34 _OMPIMP void _OMPAPI omp_set_nested(int _Nested); | |
| 35 _OMPIMP int _OMPAPI omp_get_nested(void); | |
| 36 _OMPIMP void _OMPAPI omp_init_lock(omp_lock_t *_Lock); | |
| 37 _OMPIMP void _OMPAPI omp_destroy_lock(omp_lock_t *_Lock); | |
| 38 _OMPIMP void _OMPAPI omp_set_lock(omp_lock_t *_Lock); | |
| 39 _OMPIMP void _OMPAPI omp_unset_lock(omp_lock_t *_Lock); | |
| 40 _OMPIMP int _OMPAPI omp_test_lock(omp_lock_t *_Lock); | |
| 41 _OMPIMP void _OMPAPI omp_init_nest_lock(omp_nest_lock_t *_Lock); | |
| 42 _OMPIMP void _OMPAPI omp_destroy_nest_lock(omp_nest_lock_t *_Lock); | |
| 43 _OMPIMP void _OMPAPI omp_set_nest_lock(omp_nest_lock_t *_Lock); | |
| 44 _OMPIMP void _OMPAPI omp_unset_nest_lock(omp_nest_lock_t *_Lock); | |
| 45 _OMPIMP int _OMPAPI omp_test_nest_lock(omp_nest_lock_t *_Lock); | |
| 46 _OMPIMP double _OMPAPI omp_get_wtime(void); | |
| 47 _OMPIMP double _OMPAPI omp_get_wtick(void); | |
| 48 | |
| 49 #if defined(__cplusplus) | |
| 50 } | |
| 51 #endif |
