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

Method get_workspace_bundle

dnn/src/cuda/convolution3d/forward/group_conv.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78WorkspaceBundle Convolution3DForwardImpl::AlgoGroupConvGeneral::get_workspace_bundle(
79 void* ptr, const SizeArgs& args) const {
80 auto config = prepare_sub_opr(args);
81 size_t sizes = config.second->get_workspace_in_bytes(
82 config.first[0], config.first[1], config.first[2]);
83 return {ptr, {sizes}};
84}
85
86size_t Convolution3DForwardImpl::AlgoGroupConvGeneral::get_workspace_in_bytes(
87 const SizeArgs& args) const {

Callers

nothing calls this directly

Calls 2

prepare_sub_oprFunction · 0.70

Tested by

no test coverage detected