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

Method exec

dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void IndexingMultiAxisVecImpl::exec(
178 _megdnn_tensor_in src, const IndexDesc& index, _megdnn_tensor_out dst,
179 _megdnn_workspace workspace) {
180 auto info = check_exec(src.layout, index, dst.layout, workspace.size);
181 info.error_tracker = m_error_tracker;
182 info.error_info = async_error_info(handle());
183 ExecImpl<indexing_multi_axis_vec_kdef::OprFwd>{
184 src, dst, index, workspace, info, cuda_stream(handle())}();
185}
186
187size_t IndexingSetMultiAxisVecImpl::get_workspace_in_bytes(size_t value_idx_size) {
188 return value_idx_size * sizeof(int);

Callers

nothing calls this directly

Calls 2

cuda_streamFunction · 0.85
async_error_infoFunction · 0.50

Tested by

no test coverage detected