MCPcopy Create free account
hub / github.com/apache/singa / Free

Method Free

src/core/device/cpp_cpu.cc:66–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void CppCPU::Free(void* ptr) {
67 if (ptr != nullptr) free(ptr);
68}
69
70void CppCPU::CopyToFrom(void* dst, const void* src, size_t nBytes,
71 CopyDirection direction, Context* ctx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected