diff --git a/paddle/fluid/operators/fused/CMakeLists.txt b/paddle/fluid/operators/fused/CMakeLists.txt index 1f82302584953..9ad04343b65b1 100644 --- a/paddle/fluid/operators/fused/CMakeLists.txt +++ b/paddle/fluid/operators/fused/CMakeLists.txt @@ -77,6 +77,6 @@ if (WITH_GPU OR WITH_ROCM) nv_test(test_fused_residual_dropout_bias SRCS fused_residual_dropout_bias_test.cu DEPS tensor op_registry dropout_op device_context generator memory) endif() if (NOT ${CUDNN_VERSION} VERSION_LESS 8000) - nv_test(test_cudnn_norm_conv SRCS cudnn_norm_conv_test.cu DEPS conv_op blas im2col vol2col depthwise_conv eigen_function tensor op_registry device_context generator memory) + cc_test(test_cudnn_norm_conv SRCS cudnn_norm_conv_test.cc DEPS conv_op blas im2col vol2col depthwise_conv eigen_function tensor op_registry device_context generator memory) endif() endif() diff --git a/paddle/fluid/operators/fused/cudnn_norm_conv_test.cu b/paddle/fluid/operators/fused/cudnn_norm_conv_test.cc similarity index 100% rename from paddle/fluid/operators/fused/cudnn_norm_conv_test.cu rename to paddle/fluid/operators/fused/cudnn_norm_conv_test.cc