Back to Adaptive Vision Library website

You are here: Start » Function Reference » Configuration » ControlParallelComputing

ControlParallelComputing


Header:AVL.h
Namespace:avl

Enables or disables filters multithreading parallelization.

Syntax

C++
C#
 
void avl::ControlParallelComputing
(
	bool inIsEnabled,
	atl::Optional<int> inThreadCount,
	int& outThreadCount
)

Parameters

Name Type Range Default Description
inIsEnabled bool True When 'true' parallel computing is used
inThreadCount Optional<int> 1 - 32 NIL Requested number of threads
outThreadCount int& Actually available number of threads