| 621 | } |
| 622 | |
| 623 | void Processor::Impl::setTransform(const Config & config, |
| 624 | const ConstContextRcPtr & context, |
| 625 | const ConstTransformRcPtr & transform, |
| 626 | TransformDirection direction) |
| 627 | { |
| 628 | if (!m_ops.empty()) |
| 629 | { |
| 630 | throw Exception("Internal error: Processor should be empty"); |
| 631 | } |
| 632 | |
| 633 | transform->validate(); |
| 634 | |
| 635 | BuildOps(m_ops, config, context, transform, direction); |
| 636 | |
| 637 | // NB: No-ops are not removed yet since they are still needed to build the legacy GPU processor. |
| 638 | m_ops.finalize(); |
| 639 | |
| 640 | m_ops.validateDynamicProperties(); |
| 641 | } |
| 642 | |
| 643 | void Processor::Impl::concatenate(ConstProcessorRcPtr & p1, ConstProcessorRcPtr & p2) |
| 644 | { |
nothing calls this directly
no test coverage detected