Skip to content

Commit

Permalink
ROCTX: New Include
Browse files Browse the repository at this point in the history
Supposedly, there is a new include we shall use:

Ref.:
ROCm/roctracer#79
  • Loading branch information
ax3l committed Sep 14, 2022
1 parent d867647 commit f361617
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Src/Base/AMReX_GpuDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#if defined(AMREX_USE_HIP)
#include <hip/hip_runtime.h>
#if defined(AMREX_USE_ROCTX)
#include <roctracer_ext.h>
#include <roctracer/roctracer_ext.h>
#if defined(AMREX_PROFILING) || defined (AMREX_TINY_PROFILING)
#include <roctx.h>
#include <roctracer/roctx.h>
#endif
#endif
#endif
Expand Down
2 changes: 1 addition & 1 deletion Src/Base/AMReX_TinyProfiler.H
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#endif

#if defined(AMREX_USE_HIP) && defined(AMREX_USE_ROCTX)
#include <roctx.h>
#include <roctracer/roctx.h>
#endif

#include <deque>
Expand Down

0 comments on commit f361617

Please sign in to comment.