Improve "srt" - a ray tracing program in C - to support multithreading, and thus improve its performance on multicore processors.
cd
into the program directory; thenmake
to generate the executable file../srt -N
to run, where-N
is the number of threads using.make clean check
outputs four ray tracing images calculated by 1, 2, 4 and 8 threads.
- Assignment website: http://web.cs.ucla.edu/classes/winter16/cs35L/assign/assign8.html
- The original ray tracing program is credited to Brian Allen's SRT implementation. See assignment website for details.
Yingbo (Max) Wang
University of California, Los Angeles