MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcThreadLocalAlloc

Function rtcThreadLocalAlloc

kernels/common/rtcore_builder.cpp:399–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397 }
398
399 RTC_API void* rtcThreadLocalAlloc(RTCThreadLocalAllocator localAllocator, size_t bytes, size_t align)
400 {
401 FastAllocator::CachedAllocator* alloc = (FastAllocator::CachedAllocator*) localAllocator;
402 RTC_CATCH_BEGIN;
403 RTC_TRACE(rtcThreadLocalAlloc);
404 return alloc->malloc0(bytes,align);
405 RTC_CATCH_END(alloc->alloc->getDevice());
406 return nullptr;
407 }
408
409 RTC_API void rtcMakeStaticBVH(RTCBVH hbvh)
410 {

Callers 2

createMethod · 0.85
createMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected