MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_free_host

Function af_free_host

src/api/unified/device.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108af_err af_free_host(void *ptr) {
109 free(ptr); // NOLINT(hicpp-no-malloc)
110 return AF_SUCCESS;
111}
112
113af_err af_device_array(af_array *arr, void *data, const unsigned ndims,
114 const dim_t *const dims, const af_dtype type) {

Callers

nothing calls this directly

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected