pinned_device.h
Source: samples/common/runtime/pinned_device.h
Pinned local-task IREE device creation with per-device core affinity.
Creates a local-task device with a dedicated iree_task_executor_t pinned to specific CPU cores. Each device gets its own worker thread pool, providing true core isolation between devices.
Requires IREE task-API internal headers. When those headers are absent, CreatePinnedLocalTaskDevice() returns IREE_STATUS_UNAVAILABLE.