diff --git a/include/hip/nvcc_detail/hip_runtime_api.h b/include/hip/nvcc_detail/hip_runtime_api.h index 9d2e12d8af..924c44b79f 100644 --- a/include/hip/nvcc_detail/hip_runtime_api.h +++ b/include/hip/nvcc_detail/hip_runtime_api.h @@ -24,6 +24,7 @@ THE SOFTWARE. #include #include +#include #ifdef __cplusplus extern "C" { @@ -645,12 +646,12 @@ inline static hipError_t hipMemcpyPeerAsync ( void* dst, int dstDevice, const v // Profile APIs: inline hipError_t hipProfilerStart() { - return hipCUDAErrorTohipError(cudaProfileStart()); + return hipCUDAErrorTohipError(cudaProfilerStart()); } inline hipError_t hipProfilerStop() { - return hipCUDAErrorTohipError(cudaProfileStop()); + return hipCUDAErrorTohipError(cudaProfilerStop()); }