Skip to content

Commit b7baeed

Browse files
typhoonzerowopeizl
authored andcommitted
fix win gpu build test=develop (#16334)
1 parent df5d19a commit b7baeed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

paddle/fluid/platform/device_context.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ limitations under the License. */
2323
#include "paddle/fluid/platform/cuda_helper.h"
2424
#include "paddle/fluid/platform/dynload/cublas.h"
2525
#include "paddle/fluid/platform/dynload/cudnn.h"
26+
#if !defined(__APPLE__) && !defined(_WIN32)
2627
#include "paddle/fluid/platform/dynload/nccl.h"
28+
#endif
2729
#include "paddle/fluid/platform/gpu_info.h"
2830
#endif
2931

0 commit comments

Comments
 (0)