| 3000 | } |
| 3001 | |
| 3002 | bool MIOpenSupport::GetConvolveAlgorithms( |
| 3003 | // ROCM TODO: refactor cc_major / cc_minor |
| 3004 | bool with_winograd_nonfused, int cc_major, int cc_minor, |
| 3005 | std::vector<dnn::AlgorithmDesc>* out_algorithms) { |
| 3006 | out_algorithms->assign({ |
| 3007 | // clang-format off |
| 3008 | dnn::AlgorithmDesc(miopenConvolutionFwdAlgoGEMM, false), |
| 3009 | dnn::AlgorithmDesc(miopenConvolutionFwdAlgoDirect, false), |
| 3010 | dnn::AlgorithmDesc(miopenConvolutionFwdAlgoFFT, false), |
| 3011 | dnn::AlgorithmDesc(miopenConvolutionFwdAlgoWinograd, false), |
| 3012 | // clang-format on |
| 3013 | }); |
| 3014 | return true; |
| 3015 | } |
| 3016 | |
| 3017 | bool MIOpenSupport::GetRnnAlgorithms( |
| 3018 | std::vector<dnn::AlgorithmDesc>* out_algorithms) { |
nothing calls this directly
no test coverage detected