MCPcopy Create free account
hub / github.com/RenderKit/oidn / alignedFree

Function alignedFree

common/platform.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 void alignedFree(void* ptr)
33 {
34 if (ptr)
35 #if defined(OIDN_ARCH_X64) || defined(_MSC_VER)
36 _mm_free(ptr);
37 #else
38 free(ptr);
39 #endif
40 }
41
42 // -----------------------------------------------------------------------------------------------
43 // Data type

Callers 2

usmFreeMethod · 0.85
~HostTensorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected