Skip to content

Commit

Permalink
Add support for heterogeneous systems in the Cuda component.
Browse files Browse the repository at this point in the history
  • Loading branch information
Treece Burgess committed Feb 24, 2025
1 parent 3de921e commit e411551
Show file tree
Hide file tree
Showing 6 changed files with 353 additions and 276 deletions.
4 changes: 2 additions & 2 deletions src/components/cuda/cupti_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ int cuptid_evt_code_to_name(uint64_t event_code, char *name, int len)
return cuptip_evt_code_to_name(event_code, name, len);
#endif

} else if(cuptic_is_runtime_perfworks_api()) {
} else if(cuptic_is_runtime_events_api()) {

#if defined(API_EVENTS)
return cuptie_evt_code_to_name(event_code, name, len);
Expand All @@ -280,7 +280,7 @@ int cuptid_evt_code_to_info(uint64_t event_code, PAPI_event_info_t *info)
return cuptip_evt_code_to_info(event_code, info);
#endif

} else if(cuptic_is_runtime_perfworks_api()) {
} else if(cuptic_is_runtime_events_api()) {

#if defined(API_EVENTS)
return cuptie_evt_code_to_info(event_code, info);
Expand Down
Loading

0 comments on commit e411551

Please sign in to comment.