From f43cb3b7faddde89f950f6c8cb654e651e05550e Mon Sep 17 00:00:00 2001 From: limingshu <61349199+JamesLim-sy@users.noreply.github.com> Date: Wed, 25 Jan 2023 00:43:57 +0800 Subject: [PATCH] remove useless kTranspose enum element (#38660) Co-authored-by: zhangbopd <1299246947@qq.com> --- paddle/phi/kernels/autotune/cache.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/paddle/phi/kernels/autotune/cache.h b/paddle/phi/kernels/autotune/cache.h index 5766ae8e8a..e58b1ff00c 100644 --- a/paddle/phi/kernels/autotune/cache.h +++ b/paddle/phi/kernels/autotune/cache.h @@ -43,14 +43,13 @@ enum class AlgorithmType { kConvForward = 1, kConvBackwardData = 2, kConvBackwardFilter = 3, + kTranspose = 4, #ifdef PADDLE_WITH_CUDNN_FRONTEND - kConvForwardV8 = 4, - kConvBackwardDataV8 = 5, - kConvBackwardFilterV8 = 6, - kTranspose = 7, + kConvForwardV8 = 5, + kConvBackwardDataV8 = 6, + kConvBackwardFilterV8 = 7, kAlgorithmCount = 8 #else - kTranspose = 4, kAlgorithmCount = 5 #endif }; -- GitLab