| 46 | } |
| 47 | |
| 48 | void free(LiteDeviceType device, int, void* ptr) { |
| 49 | m_nr_left--; |
| 50 | LITE_ASSERT(device == LiteDeviceType::LITE_CPU); |
| 51 | #ifdef WIN32 |
| 52 | _aligned_free(ptr); |
| 53 | #else |
| 54 | ::free(ptr); |
| 55 | #endif |
| 56 | }; |
| 57 | |
| 58 | #define NUMBER_THREDS (4) |
| 59 | std::vector<std::thread::id> thread_ids(NUMBER_THREDS); |
no outgoing calls
no test coverage detected