PAPI
7.1.0.0
Loading...
Searching...
No Matches
vendor_common.h
Go to the documentation of this file.
1
/*
2
* This file contains all the functions that are shared between
3
* different vendor versions of the profiling library. This can
4
* include vendor runtime functionalities.
5
*/
6
#ifndef __VENDOR_COMMON_H__
7
#define __VENDOR_COMMON_H__
8
9
#include <string.h>
10
#include "
papi.h
"
11
#include "
papi_memory.h
"
12
#include "
papi_internal.h
"
13
#include "
vendor_config.h
"
14
15
typedef
struct
{
16
unsigned
int
id
;
17
}
device_t
;
18
19
typedef
struct
{
20
device_t
*
devices
;
21
int
num_devices
;
22
}
device_table_t
;
23
24
extern
char
error_string
[
PAPI_MAX_STR_LEN
];
25
extern
device_table_t
*
device_table_p
;
26
27
int
vendorc_init
(
void
);
28
int
vendorc_shutdown
(
void
);
29
int
vendorc_err_get_last
(
const
char
**error);
30
31
#endif
PAPI_MAX_STR_LEN
#define PAPI_MAX_STR_LEN
Definition:
f90papi.h:77
papi.h
Return codes and api definitions.
papi_internal.h
papi_memory.h
device_t
Definition:
vendor_common.h:15
device_t::id
unsigned int id
Definition:
vendor_common.h:16
device_table_t
Definition:
roc_common.h:22
device_table_t::num_devices
int num_devices
Definition:
vendor_common.h:21
device_table_t::devices
device_t * devices
Definition:
vendor_common.h:20
vendorc_shutdown
int vendorc_shutdown(void)
Definition:
vendor_common.c:39
vendorc_err_get_last
int vendorc_err_get_last(const char **error)
Definition:
vendor_common.c:48
error_string
char error_string[PAPI_MAX_STR_LEN]
Definition:
roc_common.c:17
device_table_p
device_table_t * device_table_p
Definition:
roc_common.c:19
vendorc_init
int vendorc_init(void)
Definition:
vendor_common.c:15
vendor_config.h
src
components
template
vendor_common.h
Generated on Wed Dec 20 2023 18:12:51 for PAPI by
1.9.6