35
edits
Changes
→1. Optimize
==== Profiling: Ray-tracing algorithm ====
Source Code: https://github.com/ksanghun/CUDA_raytrace/blob/master/GPUAssaginemt/cputest.cpp
[[File:Profiling_Raytrace.png]]
==== '''Ray-Tracing Algorithm''' ====
[[File:rt_1.png]]
==== '''Ray-sphere Intersection''' ====
[[File:rt_2.png]]
==== '''Trace''' ====
[[File:rt_3.png]]
==== '''Floating-Point Considerations''' ====
[[File:Raytrace_floatingerror.PNG ]]
----
[[File:render_CvsPRender_CvsP2.png]]
[[File:main_CvsPmain_CvsP2.png]]
==== 2. Performance ====
[[File:Data_CvsP.PNG]]
[[File:Graph_CvsP.PNG]]
=== Assignment 3 ===
==== Optimization 1. Optimize ====global vs - Global to constantmemory [[File:PvsO2.png]] ==== 2. Performance ====[[File:Data_PvsO.PNG]] [[File:Graph_PvsO.PNG]] ==== 3. GPU Occupancy ====[[File:rt_5.png]]----
=== Conclusion ===
==== 1. Output ====
Video: https://youtu.be/3wV-ObHWZhg
==== 2. Performance ====
[[File:Graph_CvsPvsO.PNG]]