MCPcopy 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
324af_err af_free_host(void *ptr) {
325 free(ptr); // NOLINT(hicpp-no-malloc)
326 return AF_SUCCESS;
327}
328
329af_err af_print_mem_info(const char *msg, const int device_id) {
330 try {

Callers 9

TESTFunction · 0.50
BINARY_TESTS_NEARFunction · 0.50
median_flatFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
freeHostFunction · 0.50
arrayFunction · 0.50

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected