Merge pull request #487 from gargrahul/fix_hiparray_alloc_flag_nvcc

Map hipArray alloc flags on NVCC

[ROCm/hip commit: de5043c47c]
This commit is contained in:
Maneesh Gupta
2018-06-06 15:11:40 +05:30
committed by GitHub
@@ -153,6 +153,10 @@ typedef struct cudaArray* hipArray_const_t;
typedef cudaFuncAttributes hipFuncAttributes;
#define hipMemcpy3DParms cudaMemcpy3DParms
#define hipArrayDefault cudaArrayDefault
#define hipArrayLayered cudaArrayLayered
#define hipArraySurfaceLoadStore cudaArraySurfaceLoadStore
#define hipArrayCubemap cudaArrayCubemap
#define hipArrayTextureGather cudaArrayTextureGather
typedef cudaTextureObject_t hipTextureObject_t;
typedef cudaSurfaceObject_t hipSurfaceObject_t;