From 6989a83f354827b7c00e3ca3c1e6f4ff3a5cd2c8 Mon Sep 17 00:00:00 2001 From: Michael LIAO Date: Fri, 1 May 2020 12:18:52 -0400 Subject: [PATCH] Fix more typos from 42f97026271e2e5f5ecc31fee64678346498e324. Change-Id: I75ed28a5862daffc0778910d7ba3b97f51a87949 [ROCm/clr commit: 6bfedf1a1df0b4bc3b00feb7c09df2417d237186] --- projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h b/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h index 4ab66477fb..0779c64db7 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h +++ b/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h @@ -3944,7 +3944,7 @@ static inline hipError_t hipBindTextureToArray( { struct hipChannelFormatDesc desc; hipError_t err = hipGetChannelDesc(&desc, array); - return (err == hipSuccess) ? hipBindTextureToArray(&tex, array, desc) : err; + return (err == hipSuccess) ? hipBindTextureToArray(&tex, array, &desc) : err; } template @@ -3968,7 +3968,7 @@ static inline hipError_t hipBindTextureToMipmappedArray( return err; } err = hipGetChannelDesc(&desc, levelArray); - return (err == hipSuccess) ? hipBindTextureToMipmappedArray(&tex, mipmappedArray, desc) : err; + return (err == hipSuccess) ? hipBindTextureToMipmappedArray(&tex, mipmappedArray, &desc) : err; } template