Bingo, Computer Graphics & Game Developer
A simple cuda version of smallpt with some memory optimization.
GTX1080Ti | Intel Xeon E5 (6C12T) 2.80GHz | |
---|---|---|
Resolution | 1024*768 | 1024*768 |
SPP | 5000 | 5000 |
Cost Time | 4.3s | 32.1min |
GTX750 | Intel Xeon E5 (8C16T) 2.40GHz | |
---|---|---|
Resolution | 768*768 | 768*768 |
SPP | 2048 | 2048 |
Cost Time | 19.0s | 7.2min |
git clone https://github.com/BentleyBlanks/smallptCuda.git
cd smallptCuda
git checkout release
cd src && make
./smallpt 5000
display test.png
Supporting Visual Studio 2015 + Cuda 9.1
Enter the folder “smallptCuda”, open smallptCuda.sln for more details.