Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

antonzub99/cu-smallpt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code quality 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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 56.0%
  • Cuda 44.0%