HPX - High Performance ParalleX

PrevUpHomeNext

Struct sequential_execution_policy

hpx::parallel::v1::sequential_execution_policy

Synopsis

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


struct sequential_execution_policy {

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

Description

The class sequential_execution_policy is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and require that a parallel algorithm's execution may not be parallelized.

sequential_execution_policy public member functions

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

    Create a new sequential_task_execution_policy referencing an executor and a chunk size.

    Parameters:

    tag

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

    Returns:

    The new parallel_execution_policy


PrevUpHomeNext