diff --git a/paddle/phi/backends/dynload/dynamic_loader.cc b/paddle/phi/backends/dynload/dynamic_loader.cc index e266fb0357884a9be0e5a7b4ab4c6d1a359de035..66812bae1211fe5ef655cffc3b1bb3c3ec0f69c6 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