Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ af_free_host
Function
af_free_host
src/api/c/memory.cpp:324–327 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
322
}
323
324
af_err af_free_host(void *ptr) {
325
free(ptr); // NOLINT(hicpp-no-malloc)
326
return AF_SUCCESS;
327
}
328
329
af_err af_print_mem_info(const char *msg, const int device_id) {
330
try {
Callers
9
TEST
Function · 0.50
BINARY_TESTS_NEAR
Function · 0.50
median_flat
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
freeHost
Function · 0.50
array
Function · 0.50
Calls
1
free
Function · 0.85
Tested by
no test coverage detected