File simd_no.hpp¶
-
class NoSimdConfig : public ISimdConfig¶
- #include <simd_no.hpp>
Allows to configure that no single instruction, multiple data (SIMD) operations should be used by an algorithm.
Public Functions
-
virtual bool isSimdRecommended(uint32 expectedBatchSize) const override¶
Returns whether SIMD operations should be used, depending on the expected batch size, or not.
- Parameters:
expectedBatchSize – The typical batch size that is expected
- Returns:
True, if SIMD operations should be used, false otherwise
-
virtual bool isSimdEnabled() const override¶
Returns whether SIMD operations can be used or not.
- Returns:
True, if SIMD operations can be used, false otherwise
-
virtual bool isSimdRecommended(uint32 expectedBatchSize) const override¶