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

Building the Application

$
0
0

In this step, you will compile the source code into an application that runs on both the host and target and then run the application.

  1. Click Build > Build Solution to compile the source code.

  2. Click Debug > Start Without Debugging to start the application.

The application displays the number of targets in the system, displays the first 20 values in ascending order, and then displays the first ten even, odd, and prime numbers.

While most of the code runs on the host, the code to find the first ten even, odd, and prime numbers runs on the target. Later in this tutorial, you will see the how these code sections are defined.

In the next step, you will look at the code to find the section that gives more information about the target.

Open the Building the OpenMP Version topic

Englisch

Viewing all articles
Browse latest Browse all 1665

Trending Articles



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