MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get_all_algorithms_safe

Method get_all_algorithms_safe

dnn/src/fallback/matrix_mul/opr_impl.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104std::vector<MatrixMul::Algorithm*> MatrixMulImpl::get_all_algorithms_safe(
105 const TensorLayout& A, const TensorLayout& B, const TensorLayout& C) {
106 auto gemv_algos_safe = get_all_algorithms(A, B, C);
107 megdnn_assert(!gemv_algos_safe.empty(), "no usable MatrixMul fwd algorithm");
108 return gemv_algos_safe;
109}
110
111MatrixMulImpl::Algorithm* MatrixMulImpl::get_algorithm_from_desc(
112 const AlgorithmDesc& desc) {

Callers

nothing calls this directly

Calls 2

get_all_algorithmsFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected