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

Method alignment_requirement

dnn/src/cambricon/handle.cpp:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99size_t HandleImpl::alignment_requirement() const {
100#if CNRT_MAJOR_VERSION >= 5
101 return 256;
102#else
103 return 1;
104#endif
105}
106
107MEGDNN_SPECIALIZE_CREATE_OPERATOR(ChecksumForward);
108MEGDNN_SPECIALIZE_CREATE_OPERATOR(ConvBiasForward);

Callers 10

make_bundleMethod · 0.45
get_workspace_bundleMethod · 0.45
make_bundleMethod · 0.45
get_workspace_bundleMethod · 0.45
make_bundleFunction · 0.45
get_unary_wsFunction · 0.45
get_binary_wsFunction · 0.45
get_ternary_wsFunction · 0.45
make_bundleMethod · 0.45
make_bundleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected