| 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 |
no outgoing calls
no test coverage detected