From 71748805ec696844dc898d702da2c49636d0282d Mon Sep 17 00:00:00 2001 From: carryyu <569782149@qq.com> Date: Thu, 13 Oct 2022 12:23:34 +0800 Subject: [PATCH] fix softmax memory align (#46902) --- paddle/phi/kernels/gpudnn/softmax_gpudnn.h | 111 +++++++++++++++++---- 1 file changed, 93 insertions(+), 18 deletions(-) diff --git a/paddle/phi/kernels/gpudnn/softmax_gpudnn.h b/paddle/phi/kernels/gpudnn/softmax_gpudnn.h index 75dfc8514ab..a079827ca9f 100644 --- a/paddle/phi/kernels/gpudnn/softmax_gpudnn.h +++ b/paddle/phi/kernels/gpudnn/softmax_gpudnn.h @@ -346,28 +346,41 @@ template