From 30fb07ef7dde76bfa141f0deacdf2fe2375c451b Mon Sep 17 00:00:00 2001 From: hong <43953930+phlrain@users.noreply.github.com> Date: Tue, 12 Apr 2022 18:14:40 +0800 Subject: [PATCH] fix search sort bug (#41664) (#41684) * fix search sort bug (#41664) * fix depthwise dnn bug (#41666) --- paddle/phi/kernels/gpudnn/conv_grad_kernel.cu | 1 + paddle/phi/kernels/gpudnn/conv_kernel.cu | 1 + python/paddle/utils/code_gen/api.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/paddle/phi/kernels/gpudnn/conv_grad_kernel.cu b/paddle/phi/kernels/gpudnn/conv_grad_kernel.cu index 16f9b64e5d..9856fabfa1 100644 --- a/paddle/phi/kernels/gpudnn/conv_grad_kernel.cu +++ b/paddle/phi/kernels/gpudnn/conv_grad_kernel.cu @@ -640,6 +640,7 @@ void DepthwiseConvCudnnGradKernel(const Context& dev_ctx, bool use_addto, int workspace_size_MB, bool exhaustive_search, + bool fuse_relu, DenseTensor* input_grad, DenseTensor* filter_grad) { ConvCudnnGradKernel(dev_ctx, diff --git a/paddle/phi/kernels/gpudnn/conv_kernel.cu b/paddle/phi/kernels/gpudnn/conv_kernel.cu index dc594c7a19..256dcd4baa 100644 --- a/paddle/phi/kernels/gpudnn/conv_kernel.cu +++ b/paddle/phi/kernels/gpudnn/conv_kernel.cu @@ -431,6 +431,7 @@ void DepthwiseConvCudnnKernel(const Context& dev_ctx, bool use_addto, int workspace_size_MB, bool exhaustive_search, + bool fuse_relu, DenseTensor* out) { ConvCudnnKernel(dev_ctx, input, diff --git a/python/paddle/utils/code_gen/api.yaml b/python/paddle/utils/code_gen/api.yaml index 43fcb48f6c..6cb7bfa793 100644 --- a/python/paddle/utils/code_gen/api.yaml +++ b/python/paddle/utils/code_gen/api.yaml @@ -1614,6 +1614,7 @@ func : SearchsortedInferMeta kernel : func : searchsorted + data_type : sorted_sequence # segment_pool - api : segment_pool -- GitLab