From 59fce18f03cb5ada2a90b39620a2c8540b129c6f Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Mon, 25 Sep 2017 17:32:56 +0530 Subject: [PATCH] Fixed build issue [ROCm/clr commit: d92cfa44d24396da4b7c5243a10a0118c172913e] --- projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h b/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h index 6459839180..d8d0bc2c62 100644 --- a/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/clr/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)); }