Changes

Jump to: navigation, search

GPU621/Weekender

1,497 bytes added, 12:09, 28 November 2016
Steps for using the Intel Inspector
The Intel Inspector is a tool that finds the source of memory and threading related errors for C, C++ and Fortran projects.
 
 
'''Memory Errors
'''
 
-Memory leaks
 
-Memory corruption
 
-Allocation / de-allocation API mismatches
 
-Inconsistent memory API usage
 
-Illegal memory access
 
-Uninitialized memory read
 
 
'''Threading Errors
'''
 
-Data races: Heap races / Stack races
 
-Deadlocks
== Steps for using the Intel Inspector ==
Now go back to the Inspector and choose File > New > Project to start setting up the project for the Inspector. Enter the Project Name and browse for the location of where the file will be saved.
Then in next menu selct select the Browse... button next to the Application field and select the .exe file in the Debug folder of the project application. Next click the Modify button next to the Application Parameters field. In the Application Parameters window, Browse to insert file path button, change the Select the file to launch window to show all files, select the .dat output input fileor input the parameters, click the OK button to close the Application Parameters window, then click the OK button, the name of the opened project will be displayed in the title bar and in the Project Navigator pane.[[File:Inspector-setup.png|500px|thumb|left|set up Menu for Intel Inspector]]Now return to Visual Studio and choose Tools > Intel Inspector 2017 > New Analysis. Then in the Analysis Type drop-down list, choose the Analysis that fits the error you have. Use the configuration slider to select the specific problem preset analysis type. Once this is set up select the Start button on the Analysis Type window. After the Analysis is done a Summary window will pop up. In first panel on the left click on the + near the first error. Then double-click the data row for the first problem in the set to display the Sources window, which provides more visibility into the source of the error. Right-click in the Source tab and Select " Explain Problem " to display the Intel Inspector Help information for the problem type. With this information find the line 80 in either code location region and double-click line in the Source tab to open the source file in an editor. Save your changes then click the result tab to return to the Sources window.Get back to the Summary window. Lastly rebuild your solution and run the analysis. Here is a link for more information: [[https://software.intel.com/en-us/node/591805]]
57
edits

Navigation menu