212
edits
Changes
BetaT
,no edit summary
2nd for Loop - took - 15373 millisecs
Press any key to continue . . .
= OPTIMIZATION =
== OVERALL EXECUTION OF PROGRAM FOR CPU, PARALLELIZED GPU AND OPTIMIZED CODE ==
TIMES ARE IN MILLISECONDS
N Linux Visual No Parallel Parallized
2000 ^ 2 1160 20520 6749
5000 ^ 2 28787 127373 n/a
10000 ^ 2 124179 522576 n/a
=== Windows Display Driver Crash for problem size > 2000 & 2000 ===
When I try to give the program an argument of over 2000 & 2000 it will inform me that the windows dispay driver as crashed rebooted.
After some research I discovered that this is an issue caused by the kernel taking too long to execute and Windows has a default time limit where it will reset the CUDA GPU if it thinks it is frozen due to the amount of time it is taking to perform its calculations.
This is called the Timeout detection & recovery (TDR). A potential solution I found on the CUDA programming forum on NVidea's website suggested I try the following in the registry:
To Change the Graphic device timeout, use the following steps.
Exit all Apps and Programs.
Press the WinKey+R keys to display the Run dialog.
Type regedit.exe and click OK to open the registry editor.
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
With the GraphicsDrivers key selected, on the Edit menu, click New,
and then select the following registry value from the drop-down menu
specific to your version of Windows (32 bit, or 64 bit):
(NOTE: The TdrDelay name is Case Sensitive)
For 64 bit Windows
a. Select QWORD (64-bit) value.
b. Type TdrDelay as the Name and click Enter.
c. Double-click TdrDelay and add 8 for the Value data and clickOK.
in registry to 64, prints out: cuda programming application has been blocked from accessing graphics hardware