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
15typedef struct {
16 unsigned int id;
17} device_t;
18
19typedef struct {
23
26
27int vendorc_init(void);
28int vendorc_shutdown(void);
29int vendorc_err_get_last(const char **error);
30
31#endif
#define PAPI_MAX_STR_LEN
Definition: f90papi.h:77
Return codes and api definitions.
unsigned int id
Definition: vendor_common.h:16
device_t * devices
Definition: vendor_common.h:20
int vendorc_shutdown(void)
Definition: vendor_common.c:39
int vendorc_err_get_last(const char **error)
Definition: vendor_common.c:48
char error_string[PAPI_MAX_STR_LEN]
Definition: roc_common.c:17
device_table_t * device_table_p
Definition: roc_common.c:19
int vendorc_init(void)
Definition: vendor_common.c:15