Skip to content

Commit

Permalink
Need to move forward declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Apr 13, 2021
1 parent 53602f1 commit 33f8e87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/apex/apex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,11 @@ void finalize_plugins(void) {
#endif
}

// forward declare CUPTI buffer flushing
#ifdef APEX_WITH_CUDA
void flushTrace(void);
#endif

std::string dump(bool reset) {
in_apex prevent_deadlocks;
// if APEX is disabled, do nothing.
Expand Down Expand Up @@ -1430,10 +1435,6 @@ std::string dump(bool reset) {
return(std::string(""));
}

// forward declare CUPTI buffer flushing
#ifdef APEX_WITH_CUDA
void flushTrace(void);
#endif
// forward declare OMPT runtime shutdown
#ifdef APEX_WITH_OMPT
void ompt_force_shutdown(void);
Expand Down

0 comments on commit 33f8e87

Please sign in to comment.