From 5dc766371cfe6d1fdc16ece613799f7b4f734eae Mon Sep 17 00:00:00 2001 From: chentianyu03 Date: Fri, 4 Mar 2022 18:42:29 +0800 Subject: [PATCH] change namespace to fix conflict (#40164) --- .../gpu/sigmoid_cross_entropy_with_logits_grad_kernel.cu | 2 +- .../phi/kernels/gpu/sigmoid_cross_entropy_with_logits_kernel.cu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_grad_kernel.cu b/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_grad_kernel.cu index ae3cefd9e8..598b0138fb 100644 --- a/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_grad_kernel.cu +++ b/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_grad_kernel.cu @@ -89,7 +89,7 @@ void SigmoidCrossEntropyWithLogitsGradKernel(const Context &dev_ctx, reduce_dim.push_back(i); } - kernels::TensorReduceImpl>( + funcs::TensorReduceImpl>( dev_ctx, *counts_tensor, norm_tensor, diff --git a/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_kernel.cu b/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_kernel.cu index fb63badf56..13d63f8d97 100644 --- a/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_kernel.cu +++ b/paddle/phi/kernels/gpu/sigmoid_cross_entropy_with_logits_kernel.cu @@ -89,7 +89,7 @@ void SigmoidCrossEntropyWithLogitsKernel(const Context &dev_ctx, reduce_dim.push_back(i); } - kernels::TensorReduceImpl>( + funcs::TensorReduceImpl>( dev_ctx, *counts_tensor, norm_tensor, -- GitLab