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

Method get_workspace_in_bytes

dnn/src/cuda/batched_matrix_mul/brute_force.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 config.first[1], config.first[2]);
58}
59size_t BatchedMatrixMulForwardImpl::AlgoBruteForce::get_workspace_in_bytes(
60 const SizeArgs& args) const {
61 auto config = prepare_sub_opr(args);
62
63 return config.second->get_workspace_in_bytes(
64 config.first[0], config.first[1], config.first[2]);
65}
66void BatchedMatrixMulForwardImpl::AlgoBruteForce::exec(const ExecArgs& args) const {
67 auto N = args.layout_a.shape[0];
68 auto config = prepare_sub_opr(args);

Callers

nothing calls this directly

Calls 1

prepare_sub_oprFunction · 0.70

Tested by

no test coverage detected