Go to the source code of this file.
◆ MAX_DEVICE_COUNT
| #define MAX_DEVICE_COUNT (8) |
◆ finalize_device_table()
| int finalize_device_table |
( |
void |
| ) |
|
|
static |
Definition at line 87 of file vendor_common.c.
88{
92}
hsa_agent_t devices[PAPI_ROCM_MAX_DEV_COUNT]
device_table_t * device_table_p
◆ initialize_device_table()
| int initialize_device_table |
( |
void |
| ) |
|
|
static |
Definition at line 67 of file vendor_common.c.
68{
69#define MAX_DEVICE_COUNT (8)
73 }
74
78 }
79
82
84}
static nvmlDevice_t * devices
#define papi_calloc(a, b)
device_table_t device_table
◆ load_common_symbols()
| int load_common_symbols |
( |
void |
| ) |
|
|
static |
◆ unload_common_symbols()
| int unload_common_symbols |
( |
void |
| ) |
|
|
static |
◆ vendorc_err_get_last()
| int vendorc_err_get_last |
( |
const char ** |
error | ) |
|
Definition at line 48 of file vendor_common.c.
49{
52}
char error_string[PAPI_MAX_STR_LEN]
◆ vendorc_init()
| int vendorc_init |
( |
void |
| ) |
|
Definition at line 15 of file vendor_common.c.
16{
17 int papi_errno;
18
21 return papi_errno;
22 }
23
26 goto fn_fail;
27 }
28
30
31 fn_exit:
32 return papi_errno;
33 fn_fail:
35 goto fn_exit;
36}
static int initialize_device_table(void)
static int unload_common_symbols(void)
static int load_common_symbols(void)
◆ vendorc_shutdown()
| int vendorc_shutdown |
( |
void |
| ) |
|
Definition at line 39 of file vendor_common.c.
40{
45}
static int finalize_device_table(void)
◆ _templ_lock
◆ device_table
◆ device_table_p
◆ error_string