| 353 | } |
| 354 | |
| 355 | std::optional<int> GetNodeIndex(const std::vector<ExecNode*>& nodes, |
| 356 | const ExecNode* node) { |
| 357 | for (int i = 0; i < static_cast<int>(nodes.size()); ++i) { |
| 358 | if (nodes[i] == node) return i; |
| 359 | } |
| 360 | return std::nullopt; |
| 361 | } |
| 362 | |
| 363 | const char* kAceroAlignmentHandlingEnvVar = "ACERO_ALIGNMENT_HANDLING"; |
| 364 |