From d92cfa44d24396da4b7c5243a10a0118c172913e Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Mon, 25 Sep 2017 17:32:56 +0530 Subject: [PATCH] Fixed build issue --- hipamd/include/hip/nvcc_detail/hip_runtime_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h index 6459839180..d8d0bc2c62 100644 --- a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h +++ b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h @@ -1145,7 +1145,7 @@ inline static hipChannelFormatDesc hipCreateChannelDesc() return cudaCreateChannelDesc(); } -hipChannelFormatDesc hipCreateChannelDesc(int x, int y, int z, int w, hipChannelFormatKind f) +inline static hipChannelFormatDesc hipCreateChannelDesc(int x, int y, int z, int w, hipChannelFormatKind f) { return cudaCreateChannelDesc(x , y , z , w, hipChannelFormatKindToCudaChannelFormatKind(f)); }