diff --git a/projects/clr/hipamd/include/hip/hcc_detail/host_defines.h b/projects/clr/hipamd/include/hip/hcc_detail/host_defines.h index 212fd650a3..b2e7ac2617 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/host_defines.h +++ b/projects/clr/hipamd/include/hip/hcc_detail/host_defines.h @@ -41,13 +41,10 @@ THE SOFTWARE. #define __host__ __attribute__((cpu)) #define __device__ __attribute__((hc)) -//#warning "HOST DEFINE header included" #if GENERIC_GRID_LAUNCH == 0 -//#warning "original global define reached" #define __global__ __attribute__((hc_grid_launch)) __attribute__((used)) #else -//#warning "GGL global define reached" -#define __global__ __attribute__((annotate("hip__global__"), hc, used)) +#define __global__ __attribute__((annotate("hip__global__"), hc, used, weak)) #endif //GENERIC_GRID_LAUNCH #define __noinline__ __attribute__((noinline))