@@ -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 ;
|
||||||
|
|||||||
Fai riferimento in un nuovo problema
Block a user