Difference between revisions of "GPU621/Debugging OpenMP"
(→Case B: Using the Parallel Stacks Window) |
|||
Line 5: | Line 5: | ||
// TODO: Create a tutorial on how to debug parallel programs using OpenMP in Visual Studio | // TODO: Create a tutorial on how to debug parallel programs using OpenMP in Visual Studio | ||
+ | |||
// remember to add pictures if possible | // remember to add pictures if possible | ||
Line 24: | Line 25: | ||
// TODO: Show the window and explain what it does for every single window below (medium) | // TODO: Show the window and explain what it does for every single window below (medium) | ||
+ | |||
+ | // documentation for windows are here: https://learn.microsoft.com/en-us/visualstudio/debugger/debug-threads-and-processes?view=vs-2022 | ||
== Attach to Process Dialog Box == | == Attach to Process Dialog Box == | ||
Line 44: | Line 47: | ||
// TODO: Step-by-step walkthrough on how to debug program with the specific window | // TODO: Step-by-step walkthrough on how to debug program with the specific window | ||
+ | |||
// use same program for both tests | // use same program for both tests | ||
+ | |||
// can probably just take something from course notes and modify it to fit our parameters | // can probably just take something from course notes and modify it to fit our parameters | ||
Line 50: | Line 55: | ||
// TODO: walkthrough on using thread window to debug (medium) | // TODO: walkthrough on using thread window to debug (medium) | ||
+ | |||
+ | // https://learn.microsoft.com/en-us/visualstudio/debugger/walkthrough-debugging-a-parallel-application?view=vs-2022&tabs=cpp | ||
== Case B: Using the Parallel Stacks Window == | == Case B: Using the Parallel Stacks Window == |
Revision as of 19:54, 28 November 2022
Group Members
// TODO: Create a tutorial on how to debug parallel programs using OpenMP in Visual Studio
// remember to add pictures if possible
Process and Thread
Process
// TODO: Explain what processes are in OpenMP (short)
Thread
// TODO: Explain what threads are in OpenMP (short)
Multiple Processes
// TODO: Explain why and how to run multiple processes in one or more projects in VS (long)
User Interface
// TODO: Show the window and explain what it does for every single window below (medium)
// documentation for windows are here: https://learn.microsoft.com/en-us/visualstudio/debugger/debug-threads-and-processes?view=vs-2022
Attach to Process Dialog Box
Process Window
Thread Window
Source Window
Debug Location Window
Parallel Stacks Window
Parallel Tasks Window
Parallel Watch Window
Walkthrough
// TODO: Step-by-step walkthrough on how to debug program with the specific window
// use same program for both tests
// can probably just take something from course notes and modify it to fit our parameters
Case A: Using the Thread Window
// TODO: walkthrough on using thread window to debug (medium)
Case B: Using the Parallel Stacks Window
// TODO: walkthrough on using parallel stacks window to debug (long)