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

Function af_device_mem_info

src/api/c/memory.cpp:353–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {
355 try {
356 deviceMemoryInfo(alloc_bytes, alloc_buffers, lock_bytes, lock_buffers);
357 }
358 CATCHALL;
359 return AF_SUCCESS;
360}
361
362af_err af_set_mem_step_size(const size_t step_bytes) {
363 try {

Callers 1

deviceMemInfoFunction · 0.50

Calls 1

deviceMemoryInfoFunction · 0.50

Tested by

no test coverage detected