MCPcopy Create free account
hub / github.com/blender/cycles / host_alloc

Method host_alloc

src/device/device.cpp:545–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545void *Device::host_alloc(const MemoryType /*type*/, const size_t size)
546{
547 return util_aligned_malloc(size, MIN_ALIGNMENT_DEVICE_MEMORY);
548}
549
550void Device::host_free(const MemoryType /*type*/, void *host_pointer, const size_t size)
551{

Callers 1

generic_freeMethod · 0.45

Calls 1

util_aligned_mallocFunction · 0.85

Tested by

no test coverage detected