From 17ff646d1871c577756468235e84d2e73ab1e302 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Fri, 1 Jun 2018 17:28:43 +0530 Subject: [PATCH] Map hipArray alloc flags on NVCC [ROCm/hip commit: d3621a2500c0894aae3261b1eb75cb3ab26fd448] --- projects/hip/include/hip/nvcc_detail/hip_runtime_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h index fbff263295..5cdbe63299 100644 --- a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h @@ -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;