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

Function deviceMemInfo

src/api/cpp/device.cpp:158–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156void deviceGC() { AF_THROW(af_device_gc()); }
157
158void deviceMemInfo(size_t *alloc_bytes, size_t *alloc_buffers,
159 size_t *lock_bytes, size_t *lock_buffers) {
160 AF_THROW(af_device_mem_info(alloc_bytes, alloc_buffers, lock_bytes,
161 lock_buffers));
162}
163
164void setMemStepSize(const size_t step_bytes) {
165 AF_THROW(af_set_mem_step_size(step_bytes));

Callers 10

TYPED_TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
memAllocArrayScopeTestFunction · 0.85
memAllocPtrScopeTestFunction · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85
cleanSlateFunction · 0.85

Calls 1

af_device_mem_infoFunction · 0.50

Tested by 1

cleanSlateFunction · 0.68