From 9c8c3df2943a6886e9b8e1b7dd962a79b1696bbc 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/hip commit: 753277422a0637ff2bf541c7b43dfaaa2b12c9f6] --- projects/hip/include/hip/hcc_detail/hip_complex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/include/hip/hcc_detail/hip_complex.h b/projects/hip/include/hip/hcc_detail/hip_complex.h index 18f0a9961e..2b28563fdd 100644 --- a/projects/hip/include/hip/hcc_detail/hip_complex.h +++ b/projects/hip/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.