chsvlib
chsv helper source code

◆ IsParallel()

bool IsParallel ( ) const
protected

Checks whether the matrix is being processed in parallel mode where possible.

Returns
true if the matrix operations are executed in parallel mode, and false otherwise.

For statically defined policies of matrix parallel execution (see matrix_always_sequential and matrix_always_parallel) the function returns a constexpr boolean expression.

For matrices with matrix_dynamically_customizable_parallelism the function returns a sate of a runtime flag which is set by the set_parallel_mode and reset_parallel_mode methods.