From a0dab5e09c81faad8ae4968455933e0c1d2d5ec3 Mon Sep 17 00:00:00 2001 From: eshcherb <33529668+eshcherb@users.noreply.github.com> Date: Mon, 30 Sep 2019 00:09:41 -0500 Subject: [PATCH] to include hip_prof_str.h under USE_PROF_API macro (#1470) [ROCm/hip commit: 8234da33b91247a177d16f339f0e0d9fc047a19b] --- projects/hip/include/hip/hcc_detail/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h index 7568b0144a..edd63b96f0 100644 --- a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h @@ -3096,7 +3096,9 @@ hipError_t hipLaunchKernel(const void* function_address, } /* extern "c" */ #endif +#if USE_PROF_API #include +#endif #ifdef __cplusplus extern "C" {