From e3ee5103baf2c6e6b5c0c3de27de88ae3988ad8f Mon Sep 17 00:00:00 2001 From: Sing_chan <51314274+betterpig@users.noreply.github.com> Date: Tue, 26 Jul 2022 16:32:03 +0800 Subject: [PATCH] fix windows cuda11.7 bug (#44601) --- paddle/fluid/operators/filter_by_instag_op.cu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/operators/filter_by_instag_op.cu b/paddle/fluid/operators/filter_by_instag_op.cu index 0da9c56b5c4..5df1e4f651a 100644 --- a/paddle/fluid/operators/filter_by_instag_op.cu +++ b/paddle/fluid/operators/filter_by_instag_op.cu @@ -14,6 +14,8 @@ // #if defined(PADDLE_WITH_CUDA) && CUDA_VERSION >= 11000 +#include "paddle/fluid/operators/filter_by_instag_op.h" + #if defined(PADDLE_WITH_CUDA) #include #endif @@ -31,7 +33,6 @@ #include "paddle/fluid/framework/mixed_vector.h" #include "paddle/fluid/framework/op_registry.h" #include "paddle/fluid/memory/memcpy.h" -#include "paddle/fluid/operators/filter_by_instag_op.h" #include "paddle/fluid/platform/device/gpu/gpu_info.h" #include "paddle/fluid/platform/enforce.h" -- GitLab