From 64d1cf86b786640eae41df54bcdf0ae8ff22d8e2 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Mon, 15 Oct 2018 15:30:24 +0530 Subject: [PATCH] Add missing hipHostRegister flags on nvcc path Change-Id: I69f09204d9c544935104d4168ab8d3626666a623 --- include/hip/nvcc_detail/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hip/nvcc_detail/hip_runtime_api.h b/include/hip/nvcc_detail/hip_runtime_api.h index 55a3794846..c729773e92 100644 --- a/include/hip/nvcc_detail/hip_runtime_api.h +++ b/include/hip/nvcc_detail/hip_runtime_api.h @@ -105,8 +105,10 @@ typedef enum hipChannelFormatKind { #define hipHostMallocCoherent 0x0 #define hipHostMallocNonCoherent 0x0 +#define hipHostRegisterDefault cudaHostRegisterDefault #define hipHostRegisterPortable cudaHostRegisterPortable #define hipHostRegisterMapped cudaHostRegisterMapped +#define hipHostRegisterIoMemory cudaHostRegisterIoMemory #define HIP_LAUNCH_PARAM_BUFFER_POINTER CU_LAUNCH_PARAM_BUFFER_POINTER #define HIP_LAUNCH_PARAM_BUFFER_SIZE CU_LAUNCH_PARAM_BUFFER_SIZE