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

Method free

src/core/impl/comp_node_env.cpp:398–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396
397 virtual void* alloc(size_t size) final { return comp_node.alloc_device(size); }
398 virtual void free(void* ptr) final { return comp_node.free_device(ptr); }
399
400private:
401 CompNode comp_node;

Callers

nothing calls this directly

Calls 1

free_deviceMethod · 0.45

Tested by

no test coverage detected