using hipApiString() if defined

This commit is contained in:
Evgeny
2020-04-10 01:15:20 -05:00
parent fd0db85008
commit a46c6984a2
2 changed files with 14 additions and 0 deletions
+9
View File
@@ -24,6 +24,15 @@ THE SOFTWARE.
#define INC_ROCTRACER_HIP_H_
#include <hip/hip_runtime.h>
namespace hip_hidden_namespace {
#include <hip/hcc_detail/hip_prof_str.h>
}; // namespace hip_hidden_namespace
#if HIP_PROF_VER >= 1
#define HIP_PROF_HIP_API_STRING 1
#endif
#undef HIP_PROF_VER
#undef _HIP_PROF_STR_H
#include <hip/hcc_detail/hip_prof_str.h>
#include "roctracer.h"