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

Function af_device_gc

src/api/c/memory.cpp:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345af_err af_device_gc() {
346 try {
347 signalMemoryCleanup();
348 }
349 CATCHALL;
350 return AF_SUCCESS;
351}
352
353af_err af_device_mem_info(size_t *alloc_bytes, size_t *alloc_buffers,
354 size_t *lock_bytes, size_t *lock_buffers) {

Callers 2

TearDownMethod · 0.50
deviceGCFunction · 0.50

Calls 1

signalMemoryCleanupFunction · 0.50

Tested by

no test coverage detected