diff --git a/paddle/fluid/platform/cuda_helper_test.cu b/paddle/fluid/platform/cuda_helper_test.cu index ff49b92ff551f1c746d2fdcf3bc275919a110c5c..9e3025bf30b8849472e33a71228eb16814157b21 100644 --- a/paddle/fluid/platform/cuda_helper_test.cu +++ b/paddle/fluid/platform/cuda_helper_test.cu @@ -15,7 +15,9 @@ #include #include #include +#ifdef _WIN32 #include +#endif #include #define PADDLE_CUDA_FP16