Changes

Jump to: navigation, search

GPU610/DPS915 Team 7 Project Page

197 bytes added, 20:07, 25 February 2018
Profiling and Analysis
</code>
The remainder of the functions where the majority of the time is spent are called from ''TraceRay''. The timing statements added to the code show that 3261 milliseconds are spent in this nested loop. The total time spent in the application is 3658 milliseconds. Therefore, we can conclude that the majority of the time is spent in the above nested loopwhich is 89%. Since one iteration of the loop does not depend on another iteration, the calls to ''TraceRay'' can be parallelized.Assuming an Nvidia GPU with 192 cores (Nvidia Quadro K1000M), Amdahl's Law predicts a speedup by a factor of 8.72: <code>S<sub>192</sub> = 1 / ( 1 - 0.89 + 0.89 / 192 ) = 8.72</code>
----
100
edits

Navigation menu