From 7f26819b2f6ab4fa5b456a1be68d80c9fda56777 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Wed, 17 Jun 2020 15:50:39 -0400 Subject: [PATCH] Fix missing ldexp(float,int) Change-Id: I2c1553407dfc26948d3ab7aa532eef42a0f6b204 [ROCm/hip commit: b907505d55325de61d933f3c8f4dee9d1da086a7] --- projects/hip/include/hip/hcc_detail/math_functions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/include/hip/hcc_detail/math_functions.h b/projects/hip/include/hip/hcc_detail/math_functions.h index 876a14eaa9..7b9edfffd1 100644 --- a/projects/hip/include/hip/hcc_detail/math_functions.h +++ b/projects/hip/include/hip/hcc_detail/math_functions.h @@ -1412,6 +1412,7 @@ float func(float x, int y) \ return func##f(x, y); \ } __DEF_FLOAT_FUN2I(scalbn) +__DEF_FLOAT_FUN2I(ldexp) template __DEVICE__ inline T min(T arg1, T arg2) {