From 6bfedf1a1df0b4bc3b00feb7c09df2417d237186 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 53dd6b7a669e78035dffcd138053f7413d48d736. Change-Id: I75ed28a5862daffc0778910d7ba3b97f51a87949 --- hipamd/include/hip/hcc_detail/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hipamd/include/hip/hcc_detail/hip_runtime_api.h b/hipamd/include/hip/hcc_detail/hip_runtime_api.h index 4ab66477fb..0779c64db7 100644 --- a/hipamd/include/hip/hcc_detail/hip_runtime_api.h +++ b/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