35
edits
Changes
→1. Optimize
== Team Members ==
# [mailto:ksanghun@myseneca.ca?subject=GPU610 Sanghun Kim]
# [mailto:wlee64@myseneca.ca?subject=GPU610 Wonho Lee]
== Progress ==
=== Assignment 1 ===
==== Profiling: LZW algorithm ====
It's a simple version of LZW compression algorithm with 12 bit codes.
0.00 4.08 0.00 1 0.00 0.00 ~_Hashtable()
==== 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 ]]
----
=== Assignment 2 ===
==== 1. Parallelize ====
- render()
[[File:Render_CvsP2.png]]
- main()
[[File:main_CvsP2.png]]
==== 2. Performance ====
[[File:Data_CvsP.PNG]]
[[File:Graph_CvsP.PNG]]
----
=== Assignment 3 ===
==== 1. Optimize ====
- Global to constant memory
[[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]]