Skip to content

Commit

Permalink
remove useless kTranspose enum element (PaddlePaddle#38660)
Browse files Browse the repository at this point in the history
Co-authored-by: zhangbopd <[email protected]>
  • Loading branch information
2 people authored and pangengzheng committed Feb 2, 2023
1 parent b1bc5b0 commit 2586d62
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 2586d62

Please sign in to comment.