Intel® C++ Compiler 16.0 User and Reference Guide

Device-Querying Functions

Queries various characteristics specific to the processor graphics. This topic only applies to Intel® 64 and IA-32 architectures targeting Intel® Graphics Technology.

Syntax

GfxGpuPlatform _GFX_get_device_platform(void);

GfxGpuSKU _GFX_get_device_sku(void);

int _GFX_get_device_hardware_thread_count(void);

int _GFX_get_device_min_frequency(void);

int _GFX_get_device_max_frequency(void);

int _GFX_get_device_current_frequency(void);

Parameters

None.

Description

These functions get various characteristics of the specific processor graphics you are using.

The following table shows the information each function gets:

Function

Description

_GFX_get_device_platform

Gets the type of the installed processor graphics.

_GFX_get_device_sku

Gets the platform of the processor graphics (SKU).

_GFX_get_device_hardware_thread_count

Gets the maximum number of threads that the processor graphics can run in parallel.

_GFX_get_device_min_frequency

Gets the minimum frequency of the processor graphics.

_GFX_get_device_max_frequency

Gets the maximum frequency of the processor graphics.

_GFX_get_device_current_frequency

Gets the current frequency of the processor graphics.

Return Values

Function: _GFX_get_device_platform

0-Unknown

1- SNB

2-IVB

3-HSW

4-BDW

5-VLV

6-CHV

Function: _GFX_get_device_sku

0-Unknown

1- GT1

2-GT2

3-GT3

4-GT4

5-GTVLV

6-GTVLVPLUS

7-GTCHV

Function: _GFX_get_device_hardware_thread_count

An integer. The maximum number of threads that the processor graphics can run in parallel.

Function: _GFX_get_device_min_frequency

An integer. The minimum frequency, in MHz, of the processor graphics.

Function: _GFX_get_device_max_frequency

An integer. The maximum frequency, in MHz, of the processor graphics.

Function: _GFX_get_device_current_frequency

An integer. The current frequency, in MHz, of the processor graphics.