| 5 | #define POOL_SIZE 16384 |
| 6 | |
| 7 | EventPool::EventPool(ze_context_handle_t ctx): kContext(ctx) |
| 8 | { |
| 9 | ze_event_pool_desc_t event_pool_desc = { |
| 10 | .stype = ZE_STRUCTURE_TYPE_EVENT_POOL_DESC, |
| 11 | .pNext = nullptr, |
| 12 | .flags = ZE_EVENT_POOL_FLAG_HOST_VISIBLE, |
| 13 | .count = POOL_SIZE, |
| 14 | }; |
| 15 | ZE_ASSERT(Driver::EventPoolCreate(kContext, &event_pool_desc, 0, nullptr, &event_pool_)); |
| 16 | } |
| 17 | |
| 18 | EventPool::~EventPool() |
| 19 | { |
nothing calls this directly
no outgoing calls
no test coverage detected