Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Results
README.md
ispc.exe
smallpt.cpp
smallpt.exe
smallpt.ispc
smallpt.vcxproj

README.md

smallpt

This folder contains an ISPC implementation of Kevin Beason's smallpt. [1]

This implementation uses my HLSL-to-ISPC helper library [2].

ISPC

ispc is a compiler for a variant of the C programming language, with extensions for "single program, multiple data" (SPMD) programming. Under the SPMD model, the programmer writes a program that generally appears to be a regular serial program, though the execution model is actually that a number of program instances execute in parallel on the hardware. [4]

Running

To run the sample, simply execute the provided binary. You can also recompile it via hlsl-to-ispc.sln.

References

[1] Beason, Kevin. smallpt. http://www.kevinbeason.com/smallpt/

[2] Barré-Brisebois, Colin. HLSL to ISPC: ispc-hlsl. https://github.com/zigguratvertigo/hlsl-to-ispc