STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::detail::location_0_placement_policy Struct Reference

Trivial task placement policy used by serial_io that forces all tasks to run on location 0. More...

Public Member Functions

template<typename WF , typename ... Args>
locality_info execution_location (WF const &, Args const &...) const
 
constexpr default_info get_sched_info (void) const noexcept
 Return priority of the PARAGRAPH being scheduled. More...
 
void notify_finished (void) noexcept
 Hook to allow tracking of when tasks are executed.
 

Detailed Description

Trivial task placement policy used by serial_io that forces all tasks to run on location 0.

As written now, all tasks placed on location 0 of gang executing stapl_main.

Member Function Documentation

◆ get_sched_info()

constexpr default_info stapl::detail::location_0_placement_policy::get_sched_info ( void  ) const
noexcept

Return priority of the PARAGRAPH being scheduled.

Method required by paragraph::operator() when the executor for the paragraph is added to the parent executor.


The documentation for this struct was generated from the following file: