matt77hias / cu-smallpt

☀️ CUDA Path Tracer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

☀️ CUDA Path Tracer

License:MIT License


Languages

Language:C++ 56.0%Language:Cuda 44.0%