From f7bac3e057b1967cbb49f231aff72432ca83f85c Mon Sep 17 00:00:00 2001 From: ansurya <50609411+ansurya@users.noreply.github.com> Date: Tue, 7 Jan 2020 08:12:37 +0530 Subject: [PATCH] Fix rocFFT build failure (#1777) Fixes SWDEV-217761 [ROCm/clr commit: cbd8f604ec6f18c573acd49b056af507058d9f06] --- projects/clr/hipamd/include/hip/hcc_detail/hip_complex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/include/hip/hcc_detail/hip_complex.h b/projects/clr/hipamd/include/hip/hcc_detail/hip_complex.h index 18f0a9961e..2b28563fdd 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/hip_complex.h +++ b/projects/clr/hipamd/include/hip/hcc_detail/hip_complex.h @@ -24,6 +24,7 @@ THE SOFTWARE. #define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H #include "hip/hcc_detail/hip_vector_types.h" +#include "hip/math_functions.h" // TODO: Clang has a bug which allows device functions to call std functions // when std functions are introduced into default namespace by using statement.