Difference between revisions of "GPU621/Striking"

From CDOT Wiki
Jump to: navigation, search
(Progress)
(Progress)
Line 51: Line 51:
 
** Data flow of parallel_qsort
 
** Data flow of parallel_qsort
  
<table>
+
<table border="1">
<tr><td rowspan="4">[[File:dataflow.png|250px|thumb|right|alt dataflow]]</td></tr>
+
 
 
<tr><td>[[File:qsort_set1.png|300px|thumb|left|alt qsort_set1]]</td><td></td></tr>
 
<tr><td>[[File:qsort_set1.png|300px|thumb|left|alt qsort_set1]]</td><td></td></tr>
 
<tr><td>[[File:qsort_set2.png|300px|thumb|left|alt qsort_set2]]</td><td></td></tr>
 
<tr><td>[[File:qsort_set2.png|300px|thumb|left|alt qsort_set2]]</td><td></td></tr>
Line 58: Line 58:
 
<tr><td>[[File:qsort_set4_1.png|300px|thumb|left|alt qsort_set4_1]]</td><td></td></tr>
 
<tr><td>[[File:qsort_set4_1.png|300px|thumb|left|alt qsort_set4_1]]</td><td></td></tr>
 
<tr><td>[[File:qsort_set4_done.png|300px|thumb|left|alt qsort_set4_done]]</td><td></td></tr>
 
<tr><td>[[File:qsort_set4_done.png|300px|thumb|left|alt qsort_set4_done]]</td><td></td></tr>
 +
<tr><td rowspan="5">[[File:dataflow.png|250px|thumb|right|alt dataflow]]</td></tr>
 
</table>
 
</table>
  

Revision as of 11:26, 8 December 2016

Striking

Our project: Debugging Threads in Intel Parallel Studio

Group Members

  1. Eunju Han [1] Research etc.
  2. Lei(Eric) Zhang [2] (Dropped the course) Research etc.

Progress

Oct 17th:

  1. Picked topic
  2. Picked presentation date.

Oct 20th:

  1. Created Wiki page

Nov 6th - 13th:

  • There are great resources about Intel Parallel Debugger Extension for Microsoft Visual Studio like below.
  1. Debugging Threads in Intel Parallel Studio - [Dr Dobbs Article]
  2. Intel® Parallel Debugger Extension, Added Aug 2, 2012 - [[3]]
  3. Intel Parallel Composer Parallel Debugger Extension Tutorial - [Mittie Sylvian's Video]

However, Intel Parallel Debugger Extension has been deprecated from the version Intel Composer XE 2013 at the end of 2012. I have noticed this from the Intel User Forum.

Nov 14th - 23th:

  • Links about Debug Multithreaded Applications in Visual Studio
  1. How to: Use the Threads Window
  2. How to: Use the Parallel Watch Window
  3. Using the Parallel Stacks Window
alt text
Callout LetterElement NameDescription
ACall Stack Segment or NodeContains a series of method contexts for one or more threads.
BBlue HighlightPresente the call path of the current thread.
CArrow linesConnect nodes to make up the entire call path for the thread(s).
DTooltip on Node HeaderShows the ID and user-defined name of each thread whose call path shares this node.
EMethod ContextRepresents one or more stack frames in the same method.

Sample code to use debugging

    • Data flow of parallel_qsort
alt qsort_set1
alt qsort_set2
alt qsort_set3
alt qsort_set4_1
alt qsort_set4_done
alt dataflow

  • Debugging Tips
  1. Hit F9 at the front of a line to put the break points
  2. Run the program in Debug mode first and then open the windows you need.
  3. Open the windows like Memory, Threads, Parallel Stacks, and Local or Auto.
  4. Hit F10 or F11 to run codes line by line
  5. F9 to put or remove break points


Links about Intel® Parallel Studio XE 2017

  1. link1 Intel® Parallel Studio XE 2017
  2. link2 Intel® Parallel Studio XE 2017
  3. link Intel® Parallel Studio XE Release Notes