From 3683e2a3bd610e2c7c1b2eccffb7f2e1f01e6af2 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/hip commit: da1d9caf6b08df9b57de1ceb6deab3599e43410d] --- projects/hip/include/hcc_detail/hip_hcc.h | 2 +- projects/hip/include/hcc_detail/hip_runtime.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hcc_detail/hip_hcc.h b/projects/hip/include/hcc_detail/hip_hcc.h index 2cca8940e6..42dd3b6df5 100644 --- a/projects/hip/include/hcc_detail/hip_hcc.h +++ b/projects/hip/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/hip/include/hcc_detail/hip_runtime.h b/projects/hip/include/hcc_detail/hip_runtime.h index 7c34754355..a691ae8913 100644 --- a/projects/hip/include/hcc_detail/hip_runtime.h +++ b/projects/hip/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 ;