cpp-smallpt
About
CUDA C++ modification of Kevin Baeson's 99 line C++ path tracer
Note: I deliberately chose for the same software design for all programming languages out of clarity and performance reasons (this can conflict with the nature of declarative/functional programming languages).
Before Use
Modify Windows Timeout Detection and Recovery
- Open regedit
- Goto
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
- Add (or update)
REG_DWORD
with nameTdrDelay
and valuex
seconds (default is 2 seconds) - Reboot Windows
or
Disable Windows Timeout Detection and Recovery
- Open NVidia's Nsight Monitor
- Goto Nsight Monitor options -> General
- Set
WDDM TDR enabled
tofalse
- Reboot Windows
Also possible via regedit