Moved flag to hip_runtime.h

[ROCm/hip commit: da1d9caf6b]
This commit is contained in:
Aditya Atluri
2016-03-30 03:32:39 -05:00
parent a135881829
commit 3683e2a3bd
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
+1 -1
Vedi File
@@ -48,7 +48,7 @@ extern int HIP_LAUNCH_BLOCKING;
extern int HIP_PRINT_ENV; extern int HIP_PRINT_ENV;
extern int HIP_ATP_MARKER; extern int HIP_ATP_MARKER;
extern int HIP_TRACE_API; //extern int HIP_TRACE_API;
extern int HIP_ATP; extern int HIP_ATP;
extern int HIP_DB; extern int HIP_DB;
extern int HIP_STAGING_SIZE; /* size of staging buffers, in KB */ extern int HIP_STAGING_SIZE; /* size of staging buffers, in KB */
@@ -39,12 +39,13 @@ THE SOFTWARE.
#define CUDA_SUCCESS hipSuccess #define CUDA_SUCCESS hipSuccess
#include <hip_runtime_api.h> #include <hip_runtime_api.h>
#include "hcc_detail/hip_hcc.h" //#include "hcc_detail/hip_hcc.h"
//--- //---
// Remainder of this file only compiles with HCC // Remainder of this file only compiles with HCC
#ifdef __HCC__ #ifdef __HCC__
#include <hc.hpp> #include <hc.hpp>
#include <grid_launch.h> #include <grid_launch.h>
extern int HIP_TRACE_API;
//TODO-HCC-GL - change this to typedef. //TODO-HCC-GL - change this to typedef.
//typedef grid_launch_parm hipLaunchParm ; //typedef grid_launch_parm hipLaunchParm ;