From 831b55129d55760b74e9b47dec6ec9ced96928da Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Mon, 21 Mar 2016 10:39:49 -0500 Subject: [PATCH] Revert "Revert "fix nvcc for hipHostMalloc* flags."" This reverts commit 4bebb995662e9633e666a43e9cd4414626a5efb4. [ROCm/hip commit: e5918ce729575523968242ce2133b1166c209c03] --- projects/hip/include/nvcc_detail/hip_runtime_api.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/hip/include/nvcc_detail/hip_runtime_api.h b/projects/hip/include/nvcc_detail/hip_runtime_api.h index edf2568687..89b5a2dfee 100644 --- a/projects/hip/include/nvcc_detail/hip_runtime_api.h +++ b/projects/hip/include/nvcc_detail/hip_runtime_api.h @@ -50,10 +50,10 @@ hipMemcpyHostToHost } hipTextureFilterMode;*/ #define hipFilterModePoint cudaFilterModePoint -#define hipHostAllocDefault cudaHostAllocDefault -#define hipHostAllocPortable cudaHostAllocPortable -#define hipHostAllocMapped cudaHostAllocMapped -#define hipHostAllocWriteCombined cudaHostAllocWriteCombined +#define hipHostMallocDefault cudaHostAllocDefault +#define hipHostMallocPortable cudaHostAllocPortable +#define hipHostMallocMapped cudaHostAllocMapped +#define hipHostMallocWriteCombined cudaHostAllocWriteCombined #define hipHostRegisterPortable cudaHostRegisterPortable #define hipHostRegisterMapped cudaHostRegisterMapped