|
PAPI
5.7.0.0
|

Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE |
| #define | MAXDEVICES 5 |
Functions | |
| int | cudaSetDevice (int devnum, int n1, int n2, int n3, void *ptr1) |
| int | gettimeofday (void *ptr1, void *ptr2) |
| int | cudaFreeHost (void *ptr1, void *ptr2, int n1, int n2, void *ptr3) |
Variables | |
| int | EventSet = PAPI_NULL |
| int | devseen [MAXDEVICES] = {0} |
| static void * | dl1 |
| int(* | PAPI_library_init_ptr )(int version) |
| int(* | PAPI_create_eventset_ptr )(int *EventSet) |
| int(* | PAPI_add_named_event_ptr )(int EventSet, char *EventName) |
| int(* | PAPI_start_ptr )(int EventSet) |
| int(* | PAPI_stop_ptr )(int EventSet, long long *values) |
| #define _GNU_SOURCE |
Definition at line 19 of file cuda_ld_preload_example.c.
| #define MAXDEVICES 5 |
Definition at line 26 of file cuda_ld_preload_example.c.
| int cudaFreeHost | ( | void * | ptr1, |
| void * | ptr2, | ||
| int | n1, | ||
| int | n2, | ||
| void * | ptr3 | ||
| ) |
Definition at line 93 of file cuda_ld_preload_example.c.
| int cudaSetDevice | ( | int | devnum, |
| int | n1, | ||
| int | n2, | ||
| int | n3, | ||
| void * | ptr1 | ||
| ) |
Definition at line 38 of file cuda_ld_preload_example.c.
| int gettimeofday | ( | void * | ptr1, |
| void * | ptr2 | ||
| ) |
Definition at line 76 of file cuda_ld_preload_example.c.

| int devseen[MAXDEVICES] = {0} |
Definition at line 28 of file cuda_ld_preload_example.c.
|
static |
Definition at line 30 of file cuda_ld_preload_example.c.
| int EventSet = PAPI_NULL |
Definition at line 27 of file cuda_ld_preload_example.c.
| int(* PAPI_add_named_event_ptr) (int EventSet, char *EventName) |
add an event by name to a PAPI event set
Definition at line 33 of file cuda_ld_preload_example.c.
| int(* PAPI_create_eventset_ptr) (int *EventSet) |
create a new empty PAPI event set
Definition at line 32 of file cuda_ld_preload_example.c.
| int(* PAPI_library_init_ptr) (int version) |
initialize the PAPI library
Definition at line 31 of file cuda_ld_preload_example.c.
| int(* PAPI_start_ptr) (int EventSet) |
start counting hardware events in an event set
Definition at line 34 of file cuda_ld_preload_example.c.
stop counting hardware events in an event set and return current events
Definition at line 35 of file cuda_ld_preload_example.c.