2C This
file contains defines required by the PAPI Fortran interface.
3C It is automatically generated by genpapifdef.pl.
4C DO NOT modify its content and expect the changes to stick.
5C Changes MUST be made in genpapifdef.pl instead.
6C Content is extracted from define and
enum statements in papi.h
7C All other content is ignored.
11C General purpose defines
14#define PAPI_TLS_USR2 1
15#define PAPI_COMPONENTINFO 22
16#define PAPI_LOCATION_UNCORE 3
17#define PAPI_GRN_PROC 2
18#define PAPI_PMU_MAX 80
19#define PAPI_ENOTRUN -9
20#define PAPI_NTV_ENUM_OPCM 19
21#define PAPI_LOCK_USR2 1
22#define PAPI_ECNFLCT -8
23#define PAPI_PROFIL_BUCKET_32 16
25#define PAPI_MAX_HWCTRS 15
26#define PAPI_VERSION 117440768
27#define PAPI_DATATYPE_UINT64 1
28#define PAPI_USR1_TLS 0
29#define PAPI_TIMESCOPE_UNTIL_NEXT 2
30#define PAPI_DEV_ATTR__CUDA_UINT_GRD_DIM_X 35
31#define PAPI_DEV_TYPE_ATTR__CHAR_NAME 2
32#define PAPI_MAX_MPX_CTRS 11
33#define PAPI_NTV_ENUM_IARR 17
34#define PAPI_VALUETYPE_ABSOLUTE 1
35#define PAPI_UPDATETYPE_PULL 2
36#define PAPI_EINVAL_DOM -21
37#define PAPI_UPDATETYPE_ARBITRARY 0
39#define PAPI_2MAX_STR_LEN 256
40#define PAPI_DEV_ATTR__ROCM_UINT_CU_COUNT 60
41#define PAPI_ECOMBO -24
42#define PAPI_MULTIPLEX_FORCE_SW 1
43#define PAPI_DATATYPE_BIT64 3
44#define PAPI_VENDOR_SUN 5
45#define PAPI_PROFIL_POSIX 0
46#define PAPI_VENDOR_FREESCALE 6
47#define PAPI_ENUM_ALL 0
49#define PAPI_DEV_ATTR__CPU_UINT_L3U_CACHE_LINE_SIZE 8
51#define PAPI_DEV_ATTR__CUDA_CHAR_DEVICE_NAME 28
52#define PAPI_DEV_ATTR__CUDA_UINT_MEMCPY_OVERLAP 42
53#define PAPI_UPDATETYPE_PUSH 1
54#define PAPI_DEV_ATTR__CPU_UINT_CORE_COUNT 19
55#define PAPI_EISRUN -10
56#define PAPI_DOM_KERNEL 2
57#define PAPI_DEV_ATTR__CPU_UINT_SOCKET_COUNT 17
59#define PAPI_DEV_ATTR__ROCM_UINT_COMP_CAP_MAJOR 62
60#define PAPI_VENDOR_MIPS 8
61#define PAPI_MULTIPLEXING 64
62#define PAPI_DEV_ATTR__CUDA_UINT_COMP_CAP_MAJOR 45
63#define PAPI_EXEINFO 17
64#define PAPI_PROFIL_RANDOM 1
65#define PAPI_DEV_ATTR__CPU_UINT_NUMA_MEM_SIZE 24
66#define PAPI_DEV_ATTR__CPU_UINT_L2U_CACHE_SIZE 3
67#define PAPI_DOM_SUPERVISOR 8
68#define PAPI_GRN_PROCG 4
70#define PAPI_LOCK_USR1 0
71#define PAPI_DEV_ATTR__CUDA_UINT_WARP_SIZE 29
72#define PAPI_DEV_ATTR__CUDA_UINT_GRD_DIM_Y 36
73#define PAPI_VENDOR_ARM_QUALCOMM 81
74#define PAPI_DEV_ATTR__CPU_UINT_L2U_CACHE_LINE_COUNT 11
75#define PAPI_DATATYPE_FP64 2
76#define PAPI_OVERFLOW_HARDWARE 128
77#define PAPI_PROFIL_INST_EAR 256
78#define PAPI_DEV_TYPE_ID__ROCM 2
80#define PAPI_DEV_ATTR__CUDA_UINT_BLK_DIM_Z 34
81#define PAPI_PROFIL_DATA_EAR 128
82#define PAPI_DEV_ATTR__ROCM_UINT_GRD_DIM_Z 59
84#define PAPI_DEV_ATTR__CPU_UINT_NUMA_COUNT 18
85#define PAPI_DEV_ATTR__CPU_UINT_L3U_CACHE_SIZE 4
86#define PAPI_DEV_ATTR__CPU_UINT_L3U_CACHE_LINE_COUNT 12
87#define PAPIF_DMEM_VMSIZE 2
88#define PAPI_ENOTPRESET -12
90#define PAPIF_DMEM_HIGH_WATER 4
91#define PAPI_USER_EVENTS_FILE 29
92#define PAPI_INSTR_ADDRESS 24
93#define PAPI_DEV_ATTR__ROCM_CHAR_DEVICE_NAME 49
94#define PAPI_PROFILING 32
95#define PAPI_DEV_ATTR__CUDA_UINT_SHM_PER_SM 31
96#define PAPI_MULTIPLEX_DEFAULT 0
97#define PAPI_DATATYPE_INT64 0
98#define PAPI_USR2_TLS 1
99#define PAPI_DEV_ATTR__CUDA_UINT_GRD_DIM_Z 37
100#define PAPI_PROFIL_BUCKET_16 8
101#define PAPI_SHLIBINFO 20
102#define PAPI_HUGE_STR_LEN 1024
103#define PAPI_DEV_ATTR__CPU_UINT_L1I_CACHE_SIZE 1
104#define PAPI_INIT_SLOTS 64
106#define PAPI_RUNNING 2
107#define PAPI_DEV_ATTR__CPU_UINT_L1I_CACHE_LINE_SIZE 5
108#define PAPI_INHERIT_ALL 1
109#define PAPI_DEV_ATTR__CUDA_UINT_SM_COUNT 39
110#define PAPI_DEV_TYPE_ID__CUDA 1
111#define PAPI_TLS_USR1 0
112#define PAPI_DEV_ATTR__CUDA_UINT_MANAGED_MEM 44
113#define PAPI_GRN_SYS_CPU 16
114#define PAPI_PROFIL_WEIGHTED 2
115#define PAPI_NTV_ENUM_DEAR 21
116#define PAPI_DEV_ATTR__CUDA_UINT_BLK_DIM_X 32
117#define PAPI_EATTR -22
118#define PAPI_ENOEVST -11
119#define PAPI_MAX_CPUS 18
120#define PAPI_DEV_ATTR__ROCM_UINT_GRD_DIM_X 57
121#define PAPI_LOCATION_CORE 0
122#define PAPI_LOCATION_CPU 1
123#define PAPI_TLS_HIGH_LEVEL 2
124#define PAPI_DEV_ATTR__CUDA_UINT_MAP_HOST_MEM 41
125#define PAPI_TLS_NUM 3
126#define PAPI_EMISC -14
127#define PAPI_GRN_MAX 16
128#define PAPI_DEV_ATTR__CPU_UINT_THR_NUMA_AFFINITY 25
129#define PAPI_DOM_HWSPEC ((-2147483647) - 1)
130#define PAPI_VENDOR_ARM_BROADCOM 66
131#define PAPI_LIB_VERSION 21
132#define PAPI_DOM_ALL 15
134#define PAPI_DATA_ADDRESS 23
135#define PAPI_PRELOAD 13
136#define PAPI_DEV_ATTR__CPU_UINT_L1D_CACHE_SIZE 2
137#define PAPI_DOM_MAX 15
138#define PAPI_VENDOR_ARM_APM 80
139#define PAPI_VENDOR_AMD 2
140#define PAPI_CLOCKRATE 14
141#define PAPI_DEV_ATTR__CUDA_UINT_BLK_PER_SM 47
142#define PAPI_DEV_TYPE_ID__MAX_NUM 3
143#define PAPI_NTV_ENUM_DARR 18
144#define PAPI_DEV_ATTR__ROCM_UINT_SHM_PER_WG 53
145#define PAPIF_DMEM_MAXVAL 12
146#define PAPI_DEV_ATTR__ROCM_UINT_SIMD_PER_CU 61
148#define PAPI_LOCATION_PACKAGE 2
149#define PAPI_DEV_ATTR__ROCM_UINT_WG_DIM_X 54
150#define PAPI_DEV_ATTR__CPU_UINT_L2U_CACHE_LINE_SIZE 7
151#define PAPI_THREAD_LEVEL_INITED 4
152#define PAPI_ENOINIT -16
153#define PAPI_DEV_ATTR__ROCM_UINT_WG_DIM_Y 55
154#define PAPI_DEV_TYPE_ATTR__CHAR_STATUS 4
155#define PAPI_DEV_TYPE_ID__CPU 0
156#define PAPI_MULTIPLEX 3
157#define PAPI_DEV_ATTR__CPU_UINT_L1I_CACHE_ASSOC 13
158#define PAPI_VENDOR_INTEL 1
159#define PAPI_DEV_ATTR__ROCM_UINT_COMP_CAP_MINOR 63
160#define PAPI_UPDATETYPE_FIXEDFREQ 3
161#define PAPI_NTV_ENUM_UMASKS 15
162#define PAPI_NUM_LOCK 2
163#define PAPI_VENDOR_CRAY 4
164#define PAPI_USR2_LOCK 1
165#define PAPI_DEV_TYPE_ATTR__INT_PAPI_ID 0
166#define PAPI_ECOUNT -23
167#define PAPI_EDELAY_INIT -26
168#define PAPI_ENOMEM -2
169#define PAPI_HIGH_LEVEL_INITED 2
170#define PAPIF_DMEM_PTE 12
171#define PAPI_VENDOR_ARM_FUJITSU 70
172#define PAPI_DEV_ATTR__CPU_UINT_L1I_CACHE_LINE_COUNT 9
173#define PAPI_ENOCMP -17
174#define PAPI_NUM_ERRORS 28
175#define PAPI_DEV_ATTR__CPU_UINT_L1D_CACHE_LINE_COUNT 10
176#define PAPI_VENDOR_IBM 3
177#define PAPIF_DMEM_TEXT 6
178#define PAPIF_DMEM_PAGESIZE 11
179#define PAPI_GRN_SYS 8
180#define PAPI_DEV_TYPE_ENUM__CPU 1
181#define PAPI_NUM_TLS 3
182#define PAPI_DEV_ATTR__CUDA_UINT_UNIFIED_ADDR 43
183#define PAPI_DEV_TYPE_ATTR__INT_COUNT 3
184#define PAPI_INHERIT 28
185#define PAPI_DEV_ATTR__CPU_CHAR_NAME 0
186#define PAPI_LOW_LEVEL_INITED 1
187#define PAPI_DEV_ATTR__ROCM_UINT_WG_DIM_Z 56
188#define PAPI_DEV_ATTR__CPU_UINT_L3U_CACHE_ASSOC 16
189#define PAPI_PROFIL_BUCKET_64 32
190#define PAPI_DEV_ATTR__CPU_UINT_THR_PER_NUMA 26
191#define PAPI_ENOIMPL -19
193#define PAPI_DEV_ATTR__CUDA_UINT_MULTI_KERNEL 40
194#define PAPI_DEV_ATTR__ROCM_UINT_WAVE_PER_CU 52
195#define PAPIF_DMEM_LOCKED 9
196#define PAPIF_DMEM_LIBRARY 7
197#define PAPI_VERB_ESTOP 2
198#define PAPI_TIMESCOPE_SINCE_START 0
199#define PAPIF_DMEM_RESIDENT 3
200#define PAPI_OVERFLOWING 16
201#define PAPI_NOT_INIT 8
202#define PAPI_ATTACHED 128
203#define PAPI_DEV_TYPE_ENUM__ALL 7
205#define PAPI_ENOEVNT -7
206#define PAPI_HWINFO 16
207#define PAPI_CPU_ATTACHED 256
208#define PAPI_STOPPED 1
209#define PAPI_DEV_ATTR__CPU_UINT_L1D_CACHE_LINE_SIZE 6
211#define PAPI_VER_CURRENT 117440512
212#define PAPI_DEV_ATTR__CPU_UINT_L1D_CACHE_ASSOC 14
213#define PAPI_EMULPASS -27
214#define PAPI_DEV_ATTR__ROCM_UINT_WORKGROUP_SIZE 51
216#define PAPI_DEV_ATTR__CUDA_UINT_SHM_PER_BLK 30
217#define PAPI_OVERFLOW_FORCE_SW 64
218#define PAPI_NTV_ENUM_UMASK_COMBOS 16
219#define PAPI_DEV_TYPE_ENUM__ROCM 4
220#define PAPI_DEV_ATTR__CUDA_UINT_COMP_CAP_MINOR 46
221#define PAPIF_DMEM_VMPEAK 1
222#define PAPI_INHERIT_NONE 0
224#define PAPI_DEV_ATTR__CPU_UINT_L2U_CACHE_ASSOC 15
225#define PAPI_ENUM_EVENTS 0
226#define PAPI_VENDOR_UNKNOWN 0
227#define PAPI_DEV_ATTR__CPU_UINT_FAMILY 21
228#define PAPI_USR1_LOCK 0
229#define PAPI_DEV_ATTR__CPU_UINT_THREAD_COUNT 20
230#define PAPI_VENDOR_ARM 7
231#define PAPI_ECMP_DISABLED -25
232#define PAPI_NTV_ENUM_IEAR 20
233#define PAPI_PROFIL_COMPRESS 4
234#define PAPI_TLS_ALL_THREADS 16
235#define PAPI_DEV_TYPE_ATTR__INT_VENDOR_ID 1
236#define PAPI_ESBSTR -4
237#define PAPIF_DMEM_STACK 10
238#define PAPI_EPERM -15
239#define PAPI_DEF_MPX_NS 8
240#define PAPI_VENDOR_ARM_CAVIUM 67
241#define PAPI_DEV_ATTR__CUDA_UINT_BLK_DIM_Y 33
242#define PAPI_ENUM_FIRST 1
243#define PAPI_VERB_ECONT 1
244#define PAPI_DEV_ATTR__CPU_UINT_MODEL 22
245#define PAPIF_DMEM_HEAP 8
246#define PAPI_NTV_GROUP_AND_MASK 16711680
247#define PAPI_ECLOST -5
248#define PAPI_DEV_ATTR__CUDA_ULONG_UID 27
249#define PAPI_DEV_TYPE_ENUM__CUDA 2
250#define PAPI_CPU_ATTACH 27
251#define PAPI_PROFIL_FORCE_SW 64
252#define PAPI_DEV_ATTR__ROCM_UINT_WAVEFRONT_SIZE 50
253#define PAPI_ATTACH 19
254#define PAPI_PROFIL_BUCKETS 56
256#define PAPI_VENDOR_ARM_ARM 65
257#define PAPI_NOT_INITED 0
258#define PAPI_ENOCNTR -13
259#define PAPI_DOM_USER 1
260#define PAPI_DOM_OTHER 4
261#define PAPI_DEV_ATTR__CPU_UINT_STEPPING 23
262#define PAPI_NTV_GROUP_SHIFT 16
263#define PAPIF_DMEM_SHARED 5
264#define PAPI_GRN_MIN 1
265#define PAPI_DEV_ATTR__CUDA_UINT_THR_PER_BLK 38
266#define PAPI_DEV_TYPE_ENUM__FIRST 0
267#define PAPI_MAX_MEM_HIERARCHY_LEVELS 4
268#define PAPI_MIN_STR_LEN 64
269#define PAPI_VENDOR_ARM_HISILICON 72
270#define PAPI_TIMESCOPE_POINT 3
271#define PAPI_TIMESCOPE_SINCE_LAST 1
272#define PAPI_MAX_STR_LEN 128
273#define PAPI_DOM_MIN 1
274#define PAPI_MAX_INFO_TERMS 12
275#define PAPI_LOCK_NUM 2
276#define PAPI_VALUETYPE_RUNNING_SUM 0
277#define PAPI_DEV_ATTR__ROCM_ULONG_UID 48
278#define PAPI_DEV_ATTR__ROCM_UINT_GRD_DIM_Y 58
279#define PAPI_ENOSUPP -18
285#define PAPI_L3_TCW -2147483552
286#define PAPI_L1_TCM -2147483642
287#define PAPI_BR_INS -2147483593
288#define PAPI_L2_TCR -2147483556
289#define PAPI_L2_DCW -2147483577
290#define PAPI_L3_ICR -2147483567
291#define PAPI_L1_DCH -2147483586
292#define PAPI_CSR_FAL -2147483617
293#define PAPI_FML_INS -2147483551
294#define PAPI_CA_CLN -2147483637
295#define PAPI_L3_DCR -2147483579
296#define PAPI_L2_ICW -2147483565
297#define PAPI_TOT_CYC -2147483589
298#define PAPI_L1_ICH -2147483575
299#define PAPI_CA_SHR -2147483638
300#define PAPI_BR_CN -2147483605
301#define PAPI_BTAC_M -2147483621
302#define PAPI_L1_LDM -2147483625
303#define PAPI_L3_STM -2147483633
304#define PAPI_FXU_IDL -2147483631
305#define PAPI_MEM_RCY -2147483613
306#define PAPI_LSU_IDL -2147483629
307#define PAPI_L1_DCA -2147483584
308#define PAPI_FAD_INS -2147483550
309#define PAPI_L1_ICA -2147483572
310#define PAPI_CA_ITV -2147483635
311#define PAPI_VEC_SP -2147483543
312#define PAPI_L2_DCM -2147483646
313#define PAPI_VEC_INS -2147483592
314#define PAPI_L1_ICR -2147483569
315#define PAPI_LST_INS -2147483588
316#define PAPI_L3_DCH -2147483619
317#define PAPI_FP_OPS -2147483546
318#define PAPI_L1_DCR -2147483581
319#define PAPI_L3_ICH -2147483573
320#define PAPI_BR_TKN -2147483604
321#define PAPI_L2_ICM -2147483645
322#define PAPI_PRF_DM -2147483620
323#define PAPI_L3_TCM -2147483640
324#define PAPI_FUL_ICY -2147483610
325#define PAPI_L2_TCH -2147483562
326#define PAPI_DP_OPS -2147483544
327#define PAPI_L1_TCW -2147483554
328#define PAPI_VEC_DP -2147483542
329#define PAPI_CSR_TOT -2147483615
330#define PAPI_FP_INS -2147483596
331#define PAPI_L3_DCA -2147483582
332#define PAPI_TOT_INS -2147483598
333#define PAPI_L3_ICA -2147483570
334#define PAPI_STL_CCY -2147483609
335#define PAPI_L3_LDM -2147483634
336#define PAPI_L2_TCA -2147483559
337#define PAPI_TLB_IM -2147483627
338#define PAPI_CA_SNP -2147483639
339#define PAPI_L1_STM -2147483624
340#define PAPI_CSR_SUC -2147483616
341#define PAPI_TLB_SD -2147483618
342#define PAPI_MEM_WCY -2147483612
343#define PAPI_L3_TCA -2147483558
344#define PAPI_L2_LDM -2147483623
345#define PAPI_L2_ICA -2147483571
346#define PAPI_BRU_IDL -2147483632
347#define PAPI_FMA_INS -2147483600
348#define PAPI_L2_DCA -2147483583
349#define PAPI_FP_STAL -2147483590
350#define PAPI_TLB_TL -2147483626
351#define PAPI_L1_TCR -2147483557
352#define PAPI_L3_TCH -2147483561
353#define PAPI_SYC_INS -2147483587
354#define PAPI_FNV_INS -2147483547
355#define PAPI_L2_TCM -2147483641
356#define PAPI_L3_ICM -2147483643
357#define PAPI_BR_MSP -2147483602
358#define PAPI_MEM_SCY -2147483614
359#define PAPI_L1_ICW -2147483566
360#define PAPI_TLB_DM -2147483628
361#define PAPI_HW_INT -2147483607
362#define PAPI_L2_ICH -2147483574
363#define PAPI_FSQ_INS -2147483548
364#define PAPI_L1_DCW -2147483578
365#define PAPI_END -2147483540
366#define PAPI_L2_DCH -2147483585
367#define PAPI_L3_DCM -2147483644
368#define PAPI_FPU_IDL -2147483630
369#define PAPI_BR_UCN -2147483606
370#define PAPI_FDV_INS -2147483549
371#define PAPI_L2_STM -2147483622
372#define PAPI_FUL_CCY -2147483608
373#define PAPI_BR_PRC -2147483601
374#define PAPI_L1_TCA -2147483560
375#define PAPI_RES_STL -2147483591
376#define PAPI_L3_ICW -2147483564
377#define PAPI_L2_DCR -2147483580
378#define PAPI_SR_INS -2147483594
379#define PAPI_L1_ICM -2147483647
380#define PAPI_TOT_IIS -2147483599
381#define PAPI_L1_DCM ((-2147483647) - 1)
382#define PAPI_L3_DCW -2147483576
383#define PAPI_L2_ICR -2147483568
384#define PAPI_STL_ICY -2147483611
385#define PAPI_CA_INV -2147483636
386#define PAPI_REF_CYC -2147483541
387#define PAPI_L3_TCR -2147483555
388#define PAPI_SP_OPS -2147483545
389#define PAPI_INT_INS -2147483597
390#define PAPI_BR_NTK -2147483603
391#define PAPI_LD_INS -2147483595
392#define PAPI_L1_TCH -2147483563
393#define PAPI_L2_TCW -2147483553
static long long values[NUM_EVENTS]