Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Overview

$
0
0

The Intel® Compiler can compile your application on a system with Intel® Graphics Technology to run on both the CPU and the processor graphics. The application starts on the CPU, the host, with user-defined sections of the source code offloaded to the processor graphics, the target.

In this tutorial, you will compile the sample source code into an application that runs on both the CPU, which is the host, and the processor graphics, which is the target. The source code contains sections that are defined to run on both the host and the target. After compiling the source code, you will then look at the source code to see how you can define sections to run on both the host and the target. Finally, you will compile the same source code into an application that runs only on the host.

Note

To complete this tutorial, you must have a system with Intel® Graphics Technology. Additionally, on Windows you must have Microsoft Visual Studio* 2010 or higher.

The source code included with the Windows version of this tutorial is designed to be compiled into either a 32-bit or 64-bit application to run on Windows.

The source code included with the Linux version of this tutorial is designed to be compiled into a 64-bit Linux application on a Linux system that has been set up with the proper graphics driver supporting offload.

About This Tutorial

This tutorial shows you how to compile the source code into an application that runs on both the host and the target. The source code has sections that are defined to run on both the host and the target.

Estimated Duration

15-20 minutes.

Learning Objectives

After you complete this tutorial, you will be able to:

  • Define sections in your code that can run on both the host and the target.

  • Compile the source code into an application can run on both the host and the target.

  • Compile the same source code into an application can run only on the host.

Open the Introduction to Coarray Fortran topic

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>