System.TestAVX
Delphi
TestAVX: Cardinal; { 0: no AVX, 1st bit: AVX available }
C++
extern DELPHI_PACKAGE unsigned TestAVX;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | System.pas System.hpp |
System | System |
Description
TestAVX represents the AVX (Advanced Vector Extensions) functionality on the computer in use.
TestAVX is available for Intel architecture platforms (Windows x32, Windows x64, macOS x64, and Linux x64). TestAVX can have a combination of the following values:
- 0 - no AVX. The CPU does not have AVX functionality.
- 1 - only AVX functionality is available.
Tip: The System unit only checks AVX availability.
Note: RTL may use the AVX instruction is available. If the application does not want to use the AVX instruction, set the [System.TestAVX