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

Function host_alloc_raw

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

Source from the content-addressed store, hash-verified

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) {
397 {
398 Runtime& r = rt();

Callers 2

host_allocFunction · 0.85
malloc_hostFunction · 0.85

Calls 1

new_allocFunction · 0.85

Tested by

no test coverage detected