From 63c93f2f6638462aaf5db5579c4e0bed12fecc0c Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Wed, 30 Mar 2016 03:32:39 -0500 Subject: [PATCH] Moved flag to hip_runtime.h [ROCm/clr commit: e476d4e8f0faf34542fbdb7f8cfdd8eb4d765a28] --- projects/clr/hipamd/include/hcc_detail/hip_hcc.h | 2 +- projects/clr/hipamd/include/hcc_detail/hip_runtime.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/include/hcc_detail/hip_hcc.h b/projects/clr/hipamd/include/hcc_detail/hip_hcc.h index 2cca8940e6..42dd3b6df5 100644 --- a/projects/clr/hipamd/include/hcc_detail/hip_hcc.h +++ b/projects/clr/hipamd/include/hcc_detail/hip_hcc.h @@ -48,7 +48,7 @@ extern int HIP_LAUNCH_BLOCKING; extern int HIP_PRINT_ENV; extern int HIP_ATP_MARKER; -extern int HIP_TRACE_API; +//extern int HIP_TRACE_API; extern int HIP_ATP; extern int HIP_DB; extern int HIP_STAGING_SIZE; /* size of staging buffers, in KB */ diff --git a/projects/clr/hipamd/include/hcc_detail/hip_runtime.h b/projects/clr/hipamd/include/hcc_detail/hip_runtime.h index 7c34754355..a691ae8913 100644 --- a/projects/clr/hipamd/include/hcc_detail/hip_runtime.h +++ b/projects/clr/hipamd/include/hcc_detail/hip_runtime.h @@ -39,12 +39,13 @@ THE SOFTWARE. #define CUDA_SUCCESS hipSuccess #include -#include "hcc_detail/hip_hcc.h" +//#include "hcc_detail/hip_hcc.h" //--- // Remainder of this file only compiles with HCC #ifdef __HCC__ #include #include +extern int HIP_TRACE_API; //TODO-HCC-GL - change this to typedef. //typedef grid_launch_parm hipLaunchParm ;