From d084a2362a1ed365d455db617370e33322701e47 Mon Sep 17 00:00:00 2001 From: yuguo <948529990@qq.com> Date: Fri, 18 Aug 2023 12:17:24 +0800 Subject: [PATCH] fix fft bug in DCU (#56340) --- paddle/phi/backends/dynload/dynamic_loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/phi/backends/dynload/dynamic_loader.cc b/paddle/phi/backends/dynload/dynamic_loader.cc index e266fb03578..66812bae121 100644 --- a/paddle/phi/backends/dynload/dynamic_loader.cc +++ b/paddle/phi/backends/dynload/dynamic_loader.cc @@ -400,7 +400,7 @@ void* GetROCFFTDsoHandle() { #if defined(__APPLE__) || defined(__OSX__) return GetDsoHandleFromSearchPath(FLAGS_rocm_dir, "librocfft.dylib"); #else - return GetDsoHandleFromSearchPath(FLAGS_rocm_dir, "librocfft.so"); + return GetDsoHandleFromSearchPath(FLAGS_rocm_dir, "libhipfft.so"); #endif } #endif -- GitLab