diff --git a/paddle/fluid/platform/dynload/nccl.h b/paddle/fluid/platform/dynload/nccl.h index 3c863c5588790..ea98da702945d 100644 --- a/paddle/fluid/platform/dynload/nccl.h +++ b/paddle/fluid/platform/dynload/nccl.h @@ -78,7 +78,7 @@ NCCL_RAND_ROUTINE_EACH_AFTER_21100(PLATFORM_DECLARE_DYNAMIC_LOAD_NCCL_WRAP) #if NCCL_FIX_CODE > 0 #define NCCL_RAND_ROUTINE_EACH_WITH_FIX(__macro) __macro(ncclCommInitRank2); -NCCL_RAND_ROUTINE_EACH_WITH_FIX(PLATFORM_DECLARE_DYNAMIC_LOAD_NCCL_WRAP) +NCCL_RAND_ROUTINE_EACH_WITH_FIX(DECLARE_DYNAMIC_LOAD_NCCL_WRAP) #endif } // namespace dynload