From 9f071dde9931edf017212e45f46fdbc8ce7b954b Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Mon, 21 Mar 2016 09:33:32 -0500 Subject: [PATCH] fix nvcc for hipHostMalloc* flags. [ROCm/hip commit: b6962826ebb8b568c030cd433193d68279f5107e] --- 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