Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

Static Public Member Functions | List of all members
Environment Class Reference

Provides information about computational environment. More...

Static Public Member Functions

static int getCpuId (CpuTypeEnable enable)
 
static int setCpuId (CpuType cpuid)
 
static int enableInstructionsSet (CpuTypeEnable enable)
 
static void setNumberOfThreads (int numThreads)
 
static void enableThreadPinning (boolean enableThreadPinningFlag)
 
static int getNumberOfThreads ()
 

Detailed Description

Member Function Documentation

◆ enableInstructionsSet()

static int enableInstructionsSet ( CpuTypeEnable  enable)
static

Set

Parameters
[in]enableAn enabling flag
Returns
CPU ID

◆ enableThreadPinning()

static void enableThreadPinning ( boolean  enableThreadPinningFlag)
static

Enables thread pinning

Parameters
enableThreadPinningFlagFlag to thread pinning enable

◆ getCpuId()

static int getCpuId ( CpuTypeEnable  enable)
static

Detects the processor type

Parameters
[in]enableAn enabling flag
Returns
The CPU ID

◆ getNumberOfThreads()

static int getNumberOfThreads ( )
static

Returns number of threads used by the application

Returns
Number of threads

◆ setCpuId()

static int setCpuId ( CpuType  cpuid)
static

Set the processor type

Parameters
[in]cpuidCPU ID
Returns
CPU ID if success; -1 if error

◆ setNumberOfThreads()

static void setNumberOfThreads ( int  numThreads)
static

Sets the number of threads to be used in the application

Parameters
numThreadsThe number of threads to set

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.