diff --git a/paddle/phi/kernels/autotune/cache.h b/paddle/phi/kernels/autotune/cache.h index 5766ae8e8a4418b6369126bdeb906f3a6e2421ac..e58b1ff00c9a1720c59114059a894fdc566142db 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 };