MCPcopy Create free account
hub / github.com/Niko1221/Strata / malloc_device_raw

Function malloc_device_raw

engine/metal/src/gpu/runtime.cpp:393–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393Error malloc_device_raw(void** p, size_t bytes) { return new_alloc(p, bytes, false); }
394Error free_device(void* p) { return free_alloc(p); }
395Error host_alloc_raw(void** p, size_t bytes, unsigned) { return new_alloc(p, bytes, true); }
396Error free_host(void* p) {

Callers 1

malloc_deviceFunction · 0.85

Calls 1

new_allocFunction · 0.85

Tested by

no test coverage detected