STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::sgl::execution_policy_builder< View, policy_tag > Class Template Reference

Builder class to build an execution policy instance. More...

Public Member Functions

 execution_policy_builder (View view, std::size_t k, double active_ratio)
 
execution_policy_builder active_ratio (double active_ratio)
 Set the active vertex ratio, which is a rough estimate of how many vertices will be active in a given superstep during the traversal.
 
execution_policy_builder< View, detail::execution_policy_tag::kla > kla (std::size_t k)
 Build a KLA execution policy. More...
 
execution_policy_builder< View, detail::execution_policy_tag::level_sync > level_sync ()
 Build a level-synchronous execution policy.
 
execution_policy_builder< View, detail::execution_policy_tag::async > async ()
 Build an asynchronous execution policy.
 
execution_policy< View > build () const
 Build The currently running execution policy.
 

Detailed Description

template<typename View, detail::execution_policy_tag policy_tag>
class stapl::sgl::execution_policy_builder< View, policy_tag >

Builder class to build an execution policy instance.

Template Parameters
ViewThe graph view
policy_tagThe execution policy to build

Member Function Documentation

◆ kla()

template<typename View , detail::execution_policy_tag policy_tag>
execution_policy_builder<View, detail::execution_policy_tag::kla> stapl::sgl::execution_policy_builder< View, policy_tag >::kla ( std::size_t  k)

Build a KLA execution policy.

Parameters
kThe level of asynchrony

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