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

Method del

imperative/src/impl/interpreter/interpreter_impl.cpp:210–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void ChannelImpl::del(Handle handle) {
211 MGB_LOCK_GUARD(m_spin);
212 if (!check_available()) {
213 return;
214 }
215 del_impl(handle);
216}
217
218void ChannelImpl::del_impl(Handle handle) {
219 mgb_assert(m_valid_handle.count(handle), "invalid handle: %p", handle);

Callers 4

TESTFunction · 0.80
clearMethod · 0.80
apply_opMethod · 0.80
~RAIIHandleMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64