chsvlib
chsv helper source code
common_policy< policy_t > Struct Template Reference

Provides a field type designating common policy for the policies given by policy_t parameter pack. More...

#include <chsvmath.h>

Public Types

typedef matrix_execution_policy< typename std::common_type< typename matrix_execution_policy_traits< policy_t >::parallelism_policy... >::typetype
 A type of a unified policy.
 

Detailed Description

template<class... policy_t>
struct Chusov::Math::common_policy< policy_t >

Provides a field type designating common policy for the policies given by policy_t parameter pack.

Template Parameters
policy_tA pack of policy designators united into one common policy.

The following rules for policies unifications are used.

Parallelism policy:

matrix_always_parallelmatrix_always_sequentialmatrix_dynamically_customizable_parallelism (set as parallel) matrix_dynamically_customizable_parallelism (set as sequential)
matrix_always_parallel matrix_always_parallelmatrix_always_sequentialmatrix_dynamically_customizable_parallelism (set as parallel) matrix_dynamically_customizable_parallelism (set as sequential)
matrix_always_sequential matrix_always_sequentialmatrix_always_sequentialmatrix_dynamically_customizable_parallelism (set as sequential) matrix_dynamically_customizable_parallelism (set as sequential)
matrix_dynamically_customizable_parallelism (set as parallel) matrix_dynamically_customizable_parallelism (set as parallel) matrix_dynamically_customizable_parallelism (set as sequential) matrix_dynamically_customizable_parallelism (set as parallel) matrix_dynamically_customizable_parallelism (set as sequential)
matrix_dynamically_customizable_parallelism (set as sequential) matrix_dynamically_customizable_parallelism (set as sequential) matrix_dynamically_customizable_parallelism (set as sequential) matrix_dynamically_customizable_parallelism (set as sequential) matrix_dynamically_customizable_parallelism (set as sequential)
Remarks
Dynamical parallelism is set for a common policy by an implementation of an operation producing the common policy.

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