User and Reference Guide for the Intel® C++ Compiler 14.0

target

Specifies a target for called functions. This attribute only applies to Intel® Graphics Technology and Intel® MIC Architecture.

Syntax

Windows* OS:

__declspec(target(target-name))

Linux* OS:

__declspec(target(target-name))

__attribute__((target(target-name)))

Arguments

target-name

Possible values are:

gfx: Use the target name of gfx to specify Intel® Graphics Technology. Windows* OS only.

mic: Use the target name of mic to specify Intel® Many Integrated Core Architecture (Intel® MIC Architecture). Windows* OS and Linux* OS.

Description

This keyword specifies that the called function is also available on the target. Only functions marked with this attribute are available on the target, and only these functions can be called on the target.


Submit feedback on this help topic