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

Function alignedUSMMalloc

tutorials/common/alloc/alloc.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#endif
30
31 void* alignedUSMMalloc(size_t size, size_t align, EmbreeUSMMode mode)
32 {
33#if defined(EMBREE_SYCL_SUPPORT)
34 if (tls_context)
35 return alignedSYCLMalloc(tls_context,tls_device,size,align,mode);
36 else
37#endif
38 return alignedMalloc(size,align);
39 }
40
41 void alignedUSMFree(void* ptr)
42 {

Callers 15

TutorialData_ConstructorFunction · 0.85
addCurveFunction · 0.85
addLinesFunction · 0.85
addUserGeometrySphereFunction · 0.85
device_renderFunction · 0.85
TutorialData_ConstructorFunction · 0.85
device_renderFunction · 0.85
TutorialData_ConstructorFunction · 0.85
createGridGeometryFunction · 0.85
TutorialData_ConstructorFunction · 0.85
createLazyObjectFunction · 0.85
createAnalyticalSpheresFunction · 0.85

Calls 2

alignedSYCLMallocFunction · 0.85
alignedMallocFunction · 0.85

Tested by

no test coverage detected