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

Function memAllocUser

src/backend/oneapi/memory.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void *memAllocUser(const size_t &bytes) {
91 dim4 dims(bytes);
92 void *ptr = memoryManager().alloc(true, 1, dims.get(), 1);
93 return ptr;
94}
95
96template<typename T>
97void memFree(sycl::buffer<T> *ptr) {

Callers

nothing calls this directly

Calls 2

allocMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected