Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions paddle/phi/backends/dynload/dynamic_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,13 @@ void* GetCublasDsoHandle() {
#else
return GetDsoHandleFromSearchPath(
FLAGS_cuda_dir, win_cublas_lib, true, {cuda_lib_path});
#endif
} else if (CUDA_VERSION >= 13000 && CUDA_VERSION < 14000) {
#ifdef PADDLE_WITH_PIP_CUDA_LIBRARIES
return GetDsoHandleFromSearchPath(FLAGS_cuda_dir, "cublas64_13.dll");
#else
return GetDsoHandleFromSearchPath(
FLAGS_cuda_dir, win_cublas_lib, true, {cuda_lib_path});
#endif
} else {
std::string warning_msg(
Expand Down