In this step, you will compile the same source code into an application that runs only on the host.
You can use the information in this step to compile an early version of your source code to ensure that the application runs correctly on just the host. Once you have your application running on just the host, you can compile the same code into an application that runs on both the host and the target, if it meets additional limitations for the code to run on the target.
Click View > Property Pages. The project property page appears.
Click Configuration Properties > C/C++ > Code Generation [Intel] > Offload Constructs and then click None (/Qoffload:none). Click the OK button to close the project property page.
Click Debug > Start Without Debugging.
In the Microsoft Visual Studio dialog box, click the Yes button.
When compilation completes, a command window appears with the output of the application. Find the following statement at the beginning output:
This program is built without __INTEL_OFFLOAD
The statement indicates that the sample code was compiled into an application that runs only on the host.
Note of the best time per iteration, which is displayed at the end of the output. Compare this time to the best time per iteration of application built to run on the host and the target.
Press any key to close the command window.
This is the last step in the tutorial.
The next section contains additional projects that you can compile and run to learn more about creating applications that run on both the host and the target.