From 2b9117b353fc2f4113c883f504bf9e3f27dcf69d Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Thu, 8 Dec 2016 12:50:25 +0530 Subject: [PATCH] hcc_detail/hip_runtime_api.h: Fix IPC API signature Change-Id: I0be0f09c62f231620341141bd66183c3338be56a [ROCm/hip commit: 6e6b5180983999bd0625eff749c7e231910ffb8e] --- projects/hip/include/hip/hcc_detail/hip_runtime_api.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h index 87b4df3275..9745ca43d0 100644 --- a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h @@ -1843,7 +1843,7 @@ hipError_t hipProfilerStop(); * hipErrorMapBufferObjectFailed, * */ -extern __host__ hipError_t hipIpcGetMemHandle(hipIpcMemHandle_t *handle, void *devPtr); +hipError_t hipIpcGetMemHandle(hipIpcMemHandle_t *handle, void *devPtr); /** * @brief Opens an interprocess memory handle exported from another process @@ -1881,7 +1881,7 @@ extern __host__ hipError_t hipIpcGetMemHandle(hipIpcMemHandle_t *handle, void *d * In particular, multiple processes may not receive the same address for the same @p handle. * */ -extern __host__ hipError_t hipIpcOpenMemHandle(void **devPtr, +hipError_t hipIpcOpenMemHandle(void **devPtr, hipIpcMemHandle_t handle, unsigned int flags); /** @@ -1902,7 +1902,7 @@ extern __host__ hipError_t hipIpcOpenMemHandle(void **devPtr, * hipErrorInvalidResourceHandle, * */ -extern __host__ hipError_t hipIpcCloseMemHandle(void *devPtr); +hipError_t hipIpcCloseMemHandle(void *devPtr); // hipError_t hipIpcGetMemHandle(hipIpcMemHandle_t* handle, void* devPtr);