fatal_state.h
Source: samples/common/runtime/fatal_state.h
Atomic fatal-error tracking for multi-threaded IREE workloads.
Structs
SharedState
Shared state holding an atomic fatal error code.
Multiple threads can race to report the first fatal error via SetFatalOnce; only the first non-OK status is recorded.
Members
| Name | Type | Description |
|---|---|---|
fatal_code |
std::atomic< int > |