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

Method get_workspace_bundle

dnn/src/cuda/group_norm/opr_impl.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16WorkspaceBundle GroupNormForwardImpl::get_workspace_bundle(
17 size_t N, size_t G, size_t dtype_size, void* raw_ptr) {
18 return {raw_ptr, {N * G * dtype_size}, handle()->alignment_requirement()};
19}
20
21void GroupNormForwardImpl::exec(
22 _megdnn_tensor_in data, _megdnn_tensor_in weight, _megdnn_tensor_in bias,

Callers

nothing calls this directly

Calls 1

alignment_requirementMethod · 0.45

Tested by

no test coverage detected