|
PAPI
5.7.0.0
|

Go to the source code of this file.
Data Structures | |
| union | uPointer_t |
| union | convert_64_t |
Macros | |
| #define | CUDAAPI __attribute__((weak)) |
| #define | CUDARTAPI __attribute__((weak)) |
| #define | DECLDIR __attribute__((weak)) |
| #define | _prog_fprintf if (1) fprintf /* change to 1 to enable printing of progress debug messages. TURN OFF if benchmark timing. */ |
| #define | _time_fprintf if (1) fprintf /* change to 1 to enable printing of performance timings. TURN OFF if benchmark timing. */ |
| #define | mCheck_DL_Status(err, str) |
| #define | STRINGIFY(x) #x |
| #define | TOSTRING(x) STRINGIFY(x) |
| #define | mGet_DL_FPtr(libPtr, Name) |
| #define | hostnameLen 512 /* constant used multiple times. */ |
Functions | |
| CUresult CUDAAPI | cuInit (unsigned int myInt) |
| cudaError_t CUDARTAPI | cudaGetDevice (int *dest) |
| cudaError_t CUDARTAPI | cudaGetDeviceCount (int *dest) |
| cudaError_t CUDARTAPI | cudaDeviceGetPCIBusId (char *, int, int) |
| const char *DECLDIR | nvmlErrorString (nvmlReturn_t) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetClockInfo (nvmlDevice_t, nvmlClockType_t, unsigned int *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetCount (unsigned int *dest) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetDetailedEccErrors (nvmlDevice_t, nvmlEccBitType_t, nvmlEccCounterType_t, nvmlEccErrorCounts_t *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetEccMode (nvmlDevice_t, nvmlEnableState_t *, nvmlEnableState_t *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetFanSpeed (nvmlDevice_t, unsigned int *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetHandleByIndex (unsigned int idx, nvmlDevice_t *dest) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetInforomVersion (nvmlDevice_t, nvmlInforomObject_t, char *, unsigned int) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetMemoryInfo (nvmlDevice_t, nvmlMemory_t *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetName (nvmlDevice_t device, char *name, unsigned int len) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetPciInfo (nvmlDevice_t, nvmlPciInfo_t *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetPerformanceState (nvmlDevice_t, nvmlPstates_t *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetPowerManagementLimit (nvmlDevice_t device, unsigned int *limit) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetPowerManagementLimitConstraints (nvmlDevice_t device, unsigned int *minLimit, unsigned int *maxLimit) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetPowerUsage (nvmlDevice_t device, unsigned int *dest) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetTemperature (nvmlDevice_t, nvmlTemperatureSensors_t, unsigned int *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetTotalEccErrors (nvmlDevice_t, nvmlEccBitType_t, nvmlEccCounterType_t, unsigned long long *) |
| nvmlReturn_t DECLDIR | nvmlDeviceGetUtilizationRates (nvmlDevice_t, nvmlUtilization_t *) |
| nvmlReturn_t DECLDIR | nvmlDeviceSetPowerManagementLimit (nvmlDevice_t device, unsigned int limit) |
| nvmlReturn_t DECLDIR | nvmlInit (void) |
| nvmlReturn_t DECLDIR | nvmlShutdown (void) |
| int | main (int argc, char **argv) |
Variables | |
| CUresult CUDAAPI(* | cuInitPtr )(unsigned int) |
| cudaError_t(* | cudaGetDevicePtr )(int *) |
| cudaError_t(* | cudaGetDeviceCountPtr )(int *) |
| cudaError_t(* | cudaDeviceGetPCIBusIdPtr )(char *, int, int) |
| char *(* | nvmlErrorStringPtr )(nvmlReturn_t) |
| nvmlReturn_t(* | nvmlDeviceGetClockInfoPtr )(nvmlDevice_t, nvmlClockType_t, unsigned int *) |
| nvmlReturn_t(* | nvmlDeviceGetCountPtr )(unsigned int *dest) |
| nvmlReturn_t(* | nvmlDeviceGetDetailedEccErrorsPtr )(nvmlDevice_t, nvmlEccBitType_t, nvmlEccCounterType_t, nvmlEccErrorCounts_t *) |
| nvmlReturn_t(* | nvmlDeviceGetEccModePtr )(nvmlDevice_t, nvmlEnableState_t *, nvmlEnableState_t *) |
| nvmlReturn_t(* | nvmlDeviceGetFanSpeedPtr )(nvmlDevice_t, unsigned int *) |
| nvmlReturn_t(* | nvmlDeviceGetHandleByIndexPtr )(unsigned int, nvmlDevice_t *) |
| nvmlReturn_t(* | nvmlDeviceGetInforomVersionPtr )(nvmlDevice_t, nvmlInforomObject_t, char *, unsigned int) |
| nvmlReturn_t(* | nvmlDeviceGetMemoryInfoPtr )(nvmlDevice_t, nvmlMemory_t *) |
| nvmlReturn_t(* | nvmlDeviceGetNamePtr )(nvmlDevice_t, char *, unsigned int) |
| nvmlReturn_t(* | nvmlDeviceGetPciInfoPtr )(nvmlDevice_t, nvmlPciInfo_t *) |
| nvmlReturn_t(* | nvmlDeviceGetPerformanceStatePtr )(nvmlDevice_t, nvmlPstates_t *) |
| nvmlReturn_t(* | nvmlDeviceGetPowerManagementLimitConstraintsPtr )(nvmlDevice_t device, unsigned int *minLimit, unsigned int *maxLimit) |
| nvmlReturn_t(* | nvmlDeviceGetPowerManagementLimitPtr )(nvmlDevice_t device, unsigned int *limit) |
| nvmlReturn_t(* | nvmlDeviceGetPowerUsagePtr )(nvmlDevice_t, unsigned int *) |
| nvmlReturn_t(* | nvmlDeviceGetTemperaturePtr )(nvmlDevice_t, nvmlTemperatureSensors_t, unsigned int *) |
| nvmlReturn_t(* | nvmlDeviceGetTotalEccErrorsPtr )(nvmlDevice_t, nvmlEccBitType_t, nvmlEccCounterType_t, unsigned long long *) |
| nvmlReturn_t(* | nvmlDeviceGetUtilizationRatesPtr )(nvmlDevice_t, nvmlUtilization_t *) |
| nvmlReturn_t(* | nvmlDeviceSetPowerManagementLimitPtr )(nvmlDevice_t device, unsigned int limit) |
| nvmlReturn_t(* | nvmlInitPtr )(void) |
| nvmlReturn_t(* | nvmlShutdownPtr )(void) |
| static void * | dl1 = NULL |
| static void * | dl2 = NULL |
| static void * | dl3 = NULL |
| static struct timeval t1 | t2 |
| void(* | _dl_non_dynamic_init )(void) |
| #define _prog_fprintf if (1) fprintf /* change to 1 to enable printing of progress debug messages. TURN OFF if benchmark timing. */ |
Definition at line 154 of file benchSANVML.c.
| #define _time_fprintf if (1) fprintf /* change to 1 to enable printing of performance timings. TURN OFF if benchmark timing. */ |
Definition at line 155 of file benchSANVML.c.
| #define CUDAAPI __attribute__((weak)) |
Definition at line 46 of file benchSANVML.c.
| #define CUDARTAPI __attribute__((weak)) |
Definition at line 51 of file benchSANVML.c.
| #define DECLDIR __attribute__((weak)) |
Definition at line 62 of file benchSANVML.c.
| #define hostnameLen 512 /* constant used multiple times. */ |
| #define mCheck_DL_Status | ( | err, | |
| str | |||
| ) |
| #define mGet_DL_FPtr | ( | libPtr, | |
| Name | |||
| ) |
| cudaError_t CUDARTAPI cudaDeviceGetPCIBusId | ( | char * | , |
| int | , | ||
| int | |||
| ) |
| cudaError_t CUDARTAPI cudaGetDevice | ( | int * | dest | ) |
Definition at line 57 of file benchSANVML.c.
| cudaError_t CUDARTAPI cudaGetDeviceCount | ( | int * | dest | ) |
| CUresult CUDAAPI cuInit | ( | unsigned int | myInt | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 269 of file benchSANVML.c.

| nvmlReturn_t DECLDIR nvmlDeviceGetClockInfo | ( | nvmlDevice_t | , |
| nvmlClockType_t | , | ||
| unsigned int * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetCount | ( | unsigned int * | dest | ) |
Definition at line 88 of file benchSANVML.c.

| nvmlReturn_t DECLDIR nvmlDeviceGetDetailedEccErrors | ( | nvmlDevice_t | , |
| nvmlEccBitType_t | , | ||
| nvmlEccCounterType_t | , | ||
| nvmlEccErrorCounts_t * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetEccMode | ( | nvmlDevice_t | , |
| nvmlEnableState_t * | , | ||
| nvmlEnableState_t * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetFanSpeed | ( | nvmlDevice_t | , |
| unsigned int * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetHandleByIndex | ( | unsigned int | idx, |
| nvmlDevice_t * | dest | ||
| ) |
Definition at line 92 of file benchSANVML.c.

| nvmlReturn_t DECLDIR nvmlDeviceGetInforomVersion | ( | nvmlDevice_t | , |
| nvmlInforomObject_t | , | ||
| char * | , | ||
| unsigned int | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetMemoryInfo | ( | nvmlDevice_t | , |
| nvmlMemory_t * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetName | ( | nvmlDevice_t | device, |
| char * | name, | ||
| unsigned int | len | ||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetPciInfo | ( | nvmlDevice_t | , |
| nvmlPciInfo_t * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetPerformanceState | ( | nvmlDevice_t | , |
| nvmlPstates_t * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetPowerManagementLimit | ( | nvmlDevice_t | device, |
| unsigned int * | limit | ||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetPowerManagementLimitConstraints | ( | nvmlDevice_t | device, |
| unsigned int * | minLimit, | ||
| unsigned int * | maxLimit | ||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetPowerUsage | ( | nvmlDevice_t | device, |
| unsigned int * | dest | ||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetTemperature | ( | nvmlDevice_t | , |
| nvmlTemperatureSensors_t | , | ||
| unsigned int * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetTotalEccErrors | ( | nvmlDevice_t | , |
| nvmlEccBitType_t | , | ||
| nvmlEccCounterType_t | , | ||
| unsigned long long * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceGetUtilizationRates | ( | nvmlDevice_t | , |
| nvmlUtilization_t * | |||
| ) |
| nvmlReturn_t DECLDIR nvmlDeviceSetPowerManagementLimit | ( | nvmlDevice_t | device, |
| unsigned int | limit | ||
| ) |
| const char* DECLDIR nvmlErrorString | ( | nvmlReturn_t | ) |

| nvmlReturn_t DECLDIR nvmlInit | ( | void | ) |
| nvmlReturn_t DECLDIR nvmlShutdown | ( | void | ) |
| void(* _dl_non_dynamic_init) (void) |
Definition at line 164 of file benchSANVML.c.
| cudaError_t(* cudaDeviceGetPCIBusIdPtr) (char *, int, int) |
Definition at line 55 of file benchSANVML.c.
| cudaError_t(* cudaGetDeviceCountPtr) (int *) |
Definition at line 54 of file benchSANVML.c.
| cudaError_t(* cudaGetDevicePtr) (int *) |
Definition at line 53 of file benchSANVML.c.
| CUresult CUDAAPI(* cuInitPtr) (unsigned int) |
Definition at line 47 of file benchSANVML.c.
|
static |
Definition at line 113 of file benchSANVML.c.
|
static |
Definition at line 114 of file benchSANVML.c.
|
static |
Definition at line 115 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetClockInfoPtr) (nvmlDevice_t, nvmlClockType_t, unsigned int *) |
Definition at line 65 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetCountPtr) (unsigned int *dest) |
Definition at line 66 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetDetailedEccErrorsPtr) (nvmlDevice_t, nvmlEccBitType_t, nvmlEccCounterType_t, nvmlEccErrorCounts_t *) |
Definition at line 67 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetEccModePtr) (nvmlDevice_t, nvmlEnableState_t *, nvmlEnableState_t *) |
Definition at line 68 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetFanSpeedPtr) (nvmlDevice_t, unsigned int *) |
Definition at line 69 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetHandleByIndexPtr) (unsigned int, nvmlDevice_t *) |
Definition at line 70 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetInforomVersionPtr) (nvmlDevice_t, nvmlInforomObject_t, char *, unsigned int) |
Definition at line 71 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetMemoryInfoPtr) (nvmlDevice_t, nvmlMemory_t *) |
Definition at line 72 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetNamePtr) (nvmlDevice_t, char *, unsigned int) |
Definition at line 73 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetPciInfoPtr) (nvmlDevice_t, nvmlPciInfo_t *) |
Definition at line 74 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetPerformanceStatePtr) (nvmlDevice_t, nvmlPstates_t *) |
Definition at line 75 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetPowerManagementLimitConstraintsPtr) (nvmlDevice_t device, unsigned int *minLimit, unsigned int *maxLimit) |
Definition at line 76 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetPowerManagementLimitPtr) (nvmlDevice_t device, unsigned int *limit) |
Definition at line 77 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetPowerUsagePtr) (nvmlDevice_t, unsigned int *) |
Definition at line 78 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetTemperaturePtr) (nvmlDevice_t, nvmlTemperatureSensors_t, unsigned int *) |
Definition at line 79 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetTotalEccErrorsPtr) (nvmlDevice_t, nvmlEccBitType_t, nvmlEccCounterType_t, unsigned long long *) |
Definition at line 80 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceGetUtilizationRatesPtr) (nvmlDevice_t, nvmlUtilization_t *) |
Definition at line 81 of file benchSANVML.c.
| nvmlReturn_t(* nvmlDeviceSetPowerManagementLimitPtr) (nvmlDevice_t device, unsigned int limit) |
Definition at line 82 of file benchSANVML.c.
| char*(* nvmlErrorStringPtr) (nvmlReturn_t) |
Definition at line 64 of file benchSANVML.c.
| nvmlReturn_t(* nvmlInitPtr) (void) |
Definition at line 83 of file benchSANVML.c.
| nvmlReturn_t(* nvmlShutdownPtr) (void) |
Definition at line 84 of file benchSANVML.c.
Definition at line 117 of file benchSANVML.c.