MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / free_cpu_tensor

Function free_cpu_tensor

include/common.h:320–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318
319template <class DType>
320void free_cpu_tensor(DType* ptr) {
321 free(ptr);
322}
323
324template <class DType>
325void free_gpu_tensor(DType* ptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected