|
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > = 0> |
| StageGroupBuilder & | add (uint32_t taskCount, Args &&... args) |
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > = 0> |
| detail::TaskCountRequired< StageGroupBuilder > | add (Args &&... args) && |
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > = 0> |
| detail::TaskCountRequired< StageGroupBuilder > | add (Args &&... args) &=delete |
| |
| StageGroupBuilder & | tasks (uint32_t taskCount) |
| | Sets the task count of the most recently added kernel in this group. More...
|
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > = 0> |
| StageBuilder & | stage (uint32_t taskCount, Args &&... args) |
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > = 0> |
| detail::TaskCountRequired< StageBuilder > | stage (Args &&... args) && |
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > = 0> |
| detail::TaskCountRequired< StageBuilder > | stage (Args &&... args) &=delete |
| |
| StageGroupBuilder | stage () |
| |
| LaunchResult | run () |
| |
| std::future< LaunchResult > | runAsync () |
| |
| StageGroupBuilder & | reserve (uint32_t n) |
| |
| StageGroupBuilder & | batchSize (uint32_t n) |
| | Sets per-task batch size for the most-recently-added kernel within the active parallel group. No-op when the group is empty. More...
|
| |
| StageGroupBuilder & | clusterBitmap (uint32_t bitmap) |
| | Sets cluster bitmap for the most-recently-added kernel in the active group. More...
|
| |
| StageGroupBuilder & | locality (LocalityMode mode) |
| | Sets locality mode for the most-recently-added kernel in the active group. More...
|
| |
| StageGroupBuilder & | onComplete (Map::CompletionCallback cb, void *arg=nullptr) |
| | Registers a completion callback on the most-recently-added kernel. More...
|
| |
| StageGroupBuilder & | onMessage (Map::MessageCallback cb, void *arg=nullptr) |
| | Registers a message callback on the most-recently-added kernel. More...
|
| |
| StageGroupBuilder & | onError (Map::ErrorCallback cb, void *arg=nullptr) |
| | Registers an error callback on the most-recently-added kernel. More...
|
| |
| StageGroupBuilder & | stream (Stream *s) |
| | Routes the most-recently-added kernel through a user-managed stream. More...
|
| |
| StageGroupBuilder & | enableProfile (const xpti::ProfileConfig &config) |
| | Enables profiling for the most-recently-added kernel. enableProfiling failures are logged but not propagated. More...
|
| |
| | ~StageGroupBuilder () |
| |
| | StageGroupBuilder (StageGroupBuilder &&) noexcept |
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > > |
| detail::TaskCountRequired< StageGroupBuilder > | add (Args &&... args) && |
| |
| template<auto Func, typename... Args, detail::EnableCompatibleKernelArguments< Func, Args... > > |
| detail::TaskCountRequired< StageBuilder > | stage (Args &&... args) && |
| |
Collects parallel kernels within a single stage group.
Kernels added via add<K>() inside a group all run in parallel; the group itself runs as one sequential stage in the surrounding chain.
Optional knob methods (batchSize/clusterBitmap/locality/onComplete/onMessage/ onError/stream/enableProfile) target the most-recently-added kernel in the group, mirroring StageBuilder's per-stage semantics. Calling a knob before any add<K>() is a silent no-op.
Marked [[nodiscard]] so that building a parallel group and forgetting to call .run()/.runAsync() (or chaining back via .stage<...>()/.stage()) triggers a compile-time warning instead of a silent no-op.
Definition at line 324 of file stage_builder.hpp.