Open main menu

CDOT Wiki β

Changes

GPU621/Intel Parallel Studio Inspector.

No change in size, 22:31, 8 December 2021
no edit summary
Intel Inspector can be used to detect race conditions in programs. The following code is an example of race conditions occurring. In it, 5 threads are created to increment the value of an object several times. A race condition occurs when the threads race for the same data, therefore the value will be inconsistent and output different results. Normally in a data race, it becomes hard to locate data manually but with the help of Intel Inspector, it is much faster.
[[File:RaceConditions.jpg|950px400px]]
[[File:RaceCondition_Output.jpg|950px]]
61
edits