From 033d053a7c5046577b5ef0ca0acbf028c72294b3 Mon Sep 17 00:00:00 2001 From: ZzSean <18818272991@163.com> Date: Wed, 22 Sep 2021 09:53:54 +0000 Subject: [PATCH] change .cu to .cc --- paddle/fluid/operators/fused/CMakeLists.txt | 2 +- .../fused/{cudnn_norm_conv_test.cu => cudnn_norm_conv_test.cc} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename paddle/fluid/operators/fused/{cudnn_norm_conv_test.cu => cudnn_norm_conv_test.cc} (100%) 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