diff --git a/include/hip/hcc_detail/hip_runtime.h b/include/hip/hcc_detail/hip_runtime.h index a0836dc06e..44a61e6924 100644 --- a/include/hip/hcc_detail/hip_runtime.h +++ b/include/hip/hcc_detail/hip_runtime.h @@ -58,10 +58,6 @@ THE SOFTWARE. #error (HCC must support GRID_LAUNCH_20) #endif -#define HIP_LAUNCH_PARAM_BUFFER_POINTER ((void*) 0x01) -#define HIP_LAUNCH_PARAM_BUFFER_SIZE ((void*) 0x02) -#define HIP_LAUNCH_PARAM_END ((void*) 0x03) - extern int HIP_TRACE_API; //TODO-HCC-GL - change this to typedef. diff --git a/include/hip/hcc_detail/hip_runtime_api.h b/include/hip/hcc_detail/hip_runtime_api.h index 82eba49771..09825e141e 100644 --- a/include/hip/hcc_detail/hip_runtime_api.h +++ b/include/hip/hcc_detail/hip_runtime_api.h @@ -39,6 +39,10 @@ THE SOFTWARE. #error("This version of HIP requires a newer version of HCC."); #endif +#define HIP_LAUNCH_PARAM_BUFFER_POINTER ((void*) 0x01) +#define HIP_LAUNCH_PARAM_BUFFER_SIZE ((void*) 0x02) +#define HIP_LAUNCH_PARAM_END ((void*) 0x03) + // Structure definitions: #ifdef __cplusplus extern "C" {