Changes

Jump to: navigation, search

GPU621 Team Tsubame

2,429 bytes added, 03:47, 21 November 2016
How is it actually used?
=== How is it actually used? ===
The following walk-through assume assumes that you have Visual Studio 2015 and Intel Advisor 2017 installed.
==== Preparations: ====
1. Download and unzip Prefix Scan.zip to a preferred location and open it with Visual Studio 2015.
 
2. Set the Balanced Tree project as StartUp Project.
 
[[File:S1-2.png]]
 3. Find the Advisor’s directory by executing the following command in cmd.exe: >set advisor 4. Change the following project properties:  a. In C/C++ > General > Additional Include Directories, add the Advisor’s directory using macro notation: $(ADVISOR_..._DIR)include (or $(ADVISOR_..._DIR)\include if the environment variable does not end with a backslash).  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). g. Enable OpenMP under C/C++ > Language > OpenMP Support by setting it to Generate Parallel Code (/Qopenmp). 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. 6. Clean the Solution and Build the Project to generate the binary. 7. Launch Advisor through Windows Start > All Programs > Intel Parallel Studio XE 2017 > Analyzers > Advisor 2017 8. Select File > New > Project… to start a new project. 9. Provide a name for the project in the Create a Project window. 10. Under the Analysis Target tab, add the location of the Balance Tree.exe to the Application field using the Browse… button beside the field (or type the path in manually). 11. In the Application parameters field, add the parameters to use when executing the application. 12. Ensure the Inherit settings from Survey Hotspots Analysis Type checkbox is checked in Suitability Analysis and Dependencies Analysis. 13. Check Collect information about FLOPS, L1 memory traffic, and AVX-512 mask usage for a complete Trip Count Analysis; this step is optional. 14. Under the Binary/Symbol Search tab, add the visual studio project’s Release folder as a search directory. There will be warnings saying you are missing some symbols during the Survey Analysis, please ignore them. 15. Under the Source Search tab, provide the location of the application’s source code. 16. Select OK to complete the project creation process.
240
edits

Navigation menu