HPX - High Performance ParalleX

PrevUpHomeNext

Struct sequential_task_execution_policy

hpx::parallel::v1::sequential_task_execution_policy

Synopsis

// In header: <hpx/parallel/execution_policy.hpp>


struct sequential_task_execution_policy {
  // construct/copy/destruct
  sequential_task_execution_policy();

  // public member functions
  sequential_task_execution_policy operator()(task_execution_policy_tag) const;
};

Description

Extension: The class sequential_task_execution_policy is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be parallelized.

The algorithm returns a future representing the result of the corresponding algorithm when invoked with the sequential_execution_policy.

sequential_task_execution_policy public construct/copy/destruct

  1. sequential_task_execution_policy();

sequential_task_execution_policy public member functions

  1. sequential_task_execution_policy 
    operator()(task_execution_policy_tag tag) const;

    Create a new sequential_task_execution_policy from itself

    Parameters:

    tag

    [in] Specify that the corresponding asynchronous execution policy should be used

    Returns:

    The new sequential_task_execution_policy


PrevUpHomeNext