Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
319
template <class DType>
320
void free_cpu_tensor(DType* ptr) {
321
free(ptr);
322
}
323
324
template <class DType>
325
void free_gpu_tensor(DType* ptr) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected