Skip to content

matt77hias/cu-smallpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

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

  1. Open regedit
  2. Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
  3. Add (or update) REG_DWORD with name TdrDelay and value x seconds (default is 2 seconds)
  4. Reboot Windows

or

Disable Windows Timeout Detection and Recovery

  1. Open NVidia's Nsight Monitor
  2. Goto Nsight Monitor options -> General
  3. Set WDDM TDR enabled to false
  4. Reboot Windows

Also possible via regedit