240
edits
Changes
→How do you actually use it?
b. In C/C++ > General > Debug Information Format, confirm it is set to Program Database (/Zi).
c. In Linker > Debugging > Generate Debug Info, set it to Optimize for debugging (/DEBUG).
d. In C/C++ > Optimization > Optimization, confirm it is set to Maximize Speed (/O2) or higher.
e. On the same page, set Inline Function Expansion to Only __inline (/Ob1).
f. In C/C++ > Code Generation > Runtime Library, confirm it has been set to Multi-threaded DLL (/MD); another option is to set this field to Multi-threaded Debug DLL (/MDd).
[[File:Gpu-project 1-4-f.png]]
g. Enable OpenMP under C/C++ > Language > OpenMP Support by setting it to Generate Parallel Code (/Qopenmp).
[[File:Gpu-project 1-4-g.png]]
h. Click OK to save the properties.
5. Comment out the “terminate” section in w3.main.cpp to end the application without waiting for user input.
[[File:Gpu-project 1-5.png]]
6. Clean the Solution and Build the Project to generate the binary.
[[File:Gpu-project 1-6-l.png | left]]
7. Launch Advisor through Windows Start > All Programs > Intel Parallel Studio XE 2017 > Analyzers > Advisor 2017