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

Method check_exec

dnn/src/common/gaussian_blur.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void GaussianBlur::check_exec(
37 const TensorLayout& src, const TensorLayout& dst, size_t workspace_in_bytes) {
38 check_layout_fwd(src, dst);
39 auto required_workspace_in_bytes = get_workspace_in_bytes(src, dst);
40 megdnn_assert(workspace_in_bytes >= required_workspace_in_bytes);
41}
42
43} // namespace megdnn
44

Callers

nothing calls this directly

Calls 1

get_workspace_in_bytesFunction · 0.70

Tested by

no test coverage detected