PCL
Hardware Identification Routines

Functions

int pcl::MaxSSEInstructionSetSupported () noexcept
 

Detailed Description

Function Documentation

◆ MaxSSEInstructionSetSupported()

int pcl::MaxSSEInstructionSetSupported ( )
inlinenoexcept

Returns an integer representing the highest set of Streaming SIMD Extensions instructions (SSE) supported by the running processor. This function is a portable wrapper to the CPUID x86 instruction.

The returned value can be one of:

 0 : No SSE instructions supported
 1 : SSE instructions set supported
 2 : SSE2 instructions set supported
 3 : SSE3 instructions set supported
41 : SSE4.1 instructions set supported
42 : SSE4.2 instructions set supported

Definition at line 127 of file Math.h.