MCPcopy Create free account
hub / github.com/alibaba/euler / Allocate

Method Allocate

euler/core/framework/op_kernel.cc:94–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92class MallocAllocator: public Allocator {
93 public:
94 void* Allocate(size_t size) override {
95 return malloc(size);
96 }
97 void Deallocate(void* ptr) override {
98 free(ptr);
99 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected