Mantis - ALGLIB
Viewing Issue Advanced Details
800 General feature have not tried 2018-03-06 13:34 2018-04-26 14:24
SergeyB  
SergeyB  
normal  
resolved  
implemented  
none    
none 3.14.0  
Unspecified
0000800: INCOMPATIBLE: new approach to multithreading
ALGLIB 3.13.0 and earlier versions used single-threaded code by default. Multithreaded processing had to be activated manually by calling "smp_" versions of ALGLIB functions, with default option to utilize all cores except for one.

Since ALGLIB 3.14.0, there is no "smp_"-prefixed versions of its functions. By default library uses serial processing, but you can indicate that you want to perform parallel execution either by enabling parallelism at global level with setglobalthreading() function/method, or by enabling it at call-local level by passing alglib::parallel with other function parameters.

By default library tries to utilize all cores (when parallel processing is activated). You can change number of worker threads with setnworkers() function/method.
Issue History
2018-03-06 13:34 SergeyB New Issue
2018-03-06 13:34 SergeyB Status new => assigned
2018-03-06 13:34 SergeyB Assigned To => SergeyB
2018-03-06 13:34 SergeyB Programming language => Unspecified
2018-04-26 14:24 SergeyB Description Updated
2018-04-26 14:24 SergeyB Status assigned => resolved
2018-04-26 14:24 SergeyB Fixed in Version => 3.14.0
2018-04-26 14:24 SergeyB Resolution open => implemented

There are no notes attached to this issue.