File multi_threading_no.hpp¶
-
class NoMultiThreadingConfig : public IMultiThreadingConfig¶
- #include <multi_threading_no.hpp>
Allows to configure the multi-threading behavior of a parallelize algorithm that should not use any multi-threading.
Public Functions
-
virtual MultiThreadingSettings getSettings(const IFeatureMatrix &featureMatrix, uint32 numOutputs) const override¶
Determines and returns the settings to be used by parallelizable algorithms, depending on the available hardware and whether multi-threading support was enabled at compile-time.
- Parameters:
featureMatrix – A reference to an object of type
IFeatureMatrixthat provides access to the feature values of the training examplesnumOutputs – The total number of available outputs
- Returns:
The
MultiThreadingSettingsto be used
-
virtual MultiThreadingSettings getSettings(const IFeatureMatrix &featureMatrix, uint32 numOutputs) const override¶