Skip to content

Commit

Permalink
remove useless kTranspose enum element (#38660)
Browse files Browse the repository at this point in the history
Co-authored-by: zhangbopd <[email protected]>
  • Loading branch information
JamesLim-sy and zhangbopd authored Jan 24, 2023
1 parent 23d20e3 commit f43cb3b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions paddle/phi/kernels/autotune/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit f43cb3b

Please sign in to comment.