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

Method get_workspace_in_bytes

dnn/src/cuda/svd/opr_impl.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67size_t SVDForwardImpl::get_workspace_in_bytes(
68 size_t block_cnt, size_t m, size_t n, size_t dtype_size) {
69 megdnn_assert(dtype_size == 4);
70
71 return get_workspace_bundle(block_cnt, m, n, dtype_size).total_size_in_bytes();
72}
73
74void SVDForwardImpl::exec(
75 _megdnn_tensor_in src, _megdnn_tensor_out u, _megdnn_tensor_out s,

Callers

nothing calls this directly

Calls 2

total_size_in_bytesMethod · 0.80
get_workspace_bundleFunction · 0.50

Tested by

no test coverage detected