diff --git a/include/hip/hcc_detail/hip_runtime.h b/include/hip/hcc_detail/hip_runtime.h index 6fc68abb3a..af294cdb53 100644 --- a/include/hip/hcc_detail/hip_runtime.h +++ b/include/hip/hcc_detail/hip_runtime.h @@ -47,7 +47,6 @@ THE SOFTWARE. #include -#define USE_PROMOTE_FREE_HCC 0 #if USE_PROMOTE_FREE_HCC == 1 #define ADDRESS_SPACE_1 diff --git a/include/hip/hcc_detail/host_defines.h b/include/hip/hcc_detail/host_defines.h index 0e10d0075c..93695a0038 100644 --- a/include/hip/hcc_detail/host_defines.h +++ b/include/hip/hcc_detail/host_defines.h @@ -28,6 +28,8 @@ THE SOFTWARE. #ifndef HOST_DEFINES_H #define HOST_DEFINES_H +#define USE_PROMOTE_FREE_HCC 0 + #ifdef __HCC__ /** * Function and kernel markers