MRPT  2.0.0
Namespaces | Enumerations | Functions
mrpt::cpu Namespace Reference

Namespaces

 internal
 

Enumerations

enum  feature : unsigned int {
  feature::MMX = 0, feature::POPCNT, feature::SSE, feature::SSE2,
  feature::SSE3, feature::SSSE3, feature::SSE4_1, feature::SSE4_2,
  feature::AVX, feature::AVX2, feature::FEATURE_COUNT
}
 OS-portable set of CPU feature definitions, for usage in mrpt::cpu::supports. More...
 

Functions

bool supports (feature f) noexcept
 Returns true if the current CPU (and OS) supports the given CPU feature. More...
 
void overrideDetectedFeature (feature f, bool newValue) noexcept
 Blindly enables/disables a CPU feature flag in the list of detected features to be reported in subsequent calls to mrpt::cpu::supports(). More...
 
std::string features_as_string () noexcept
 Returns a string with detected features: "MMX:1 SSE2:0 etc.". More...
 



Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020