Compiling for Offload
Argument |
Comment |
-q[no-]offload-qoffload=kywd | Controls whether the compiler honors language constructs for offloading to Intel® MIC architecture or Intel® Graphics Technology. kywd can take values: none: offload constructs are ignored and all code is compiled for execution on the host only. Equivalent to -qno-offload. mandatory: if target is not available, program fails unless status clause is present, in which case offload code is skipped. optional: if target is not available, all code is executed on host cpu. Default is -qoffload=mandatory. |
-qoffload-option,target, tool, "option-list" | Specifies options to be used for the target compilation but not for the host. target may be mic (for Intel® MIC architecture) or gfx (for Intel® Graphics Technology). tool may be compiler, ld, link or as. |
-qoffload-attribute-target=target-name | Flags every file-scope function or data object with the offload attribute target(target-name), where target-name is mic (for Intel® MIC architecture) or gfx (for Intel® Graphics Technology). |
-qopt-report-phase offload | Generates a compile time report of variables that will be copied to or from the host and the coprocessor or processor graphics. |