Content area

Abstract

Ray tracing is a process used commonly in computer graphics and in physics to track light photons and particles, respectively. Much research was found on improving execution times for the computer graphics applications; however, in the time frame of this literary review, almost no research was found on improving the execution times for the physics applications that were relevant to this problem. Two ray trace algorithms, a STL raytrace and a conebeam raytrace, were optimized using OpenMP and CUDA.

The STL raytrace algorithm achieved up to a 13.41x speedup using OpenMP. CUDA was not used for this algorithm due to the large amounts of memory allocations required in the algorithm. The conebeam raytrace used both OpenMP and CUDA along with knowledge of branches in coding to improve the execution time. The algorithm was able to improve the runtime by 14.3x using the most optimized OpenMP. There was an unexpected result using CUDA, in which the first calculation of the executable file took around 200ms extra to run, causing different runtimes for the first calculation in the executable file and each calculation after. Using the most optimized CUDA code, the algorithm achieved a 13.87x speedup on the first calculation and an 18.5x speedup for each calculation after. The CUDA optimization also allowed for answers an average of 8.5% more accurate than the original sequential code when comparing the computed results to the actual results.

Both algorithms achieved an improvement in execution time using the different methods. Each algorithm was unique in the way they needed to be parallelized and tested. These differences help broaden the knowledge on how the execution times of physics ray trace algorithms can be improved.

Details

1010268
Title
Speed Optimizations for Physics Ray Trace Algorithms
Number of pages
57
Publication year
2025
Degree date
2025
School code
0204
Source
MAI 87/6(E), Masters Abstracts International
ISBN
9798270247171
Committee member
Rebenitch, Lisa; Armstrong, Haley
University/institution
South Dakota School of Mines and Technology
Department
Computer Science and Engineering
University location
United States -- South Dakota
Degree
M.S.
Source type
Dissertation or Thesis
Language
English
Document type
Dissertation/Thesis
Dissertation/thesis number
32282082
ProQuest document ID
3286100889
Document URL
https://www.proquest.com/dissertations-theses/speed-optimizations-physics-ray-trace-algorithms/docview/3286100889/se-2?accountid=208611
Copyright
Database copyright ProQuest LLC; ProQuest does not claim copyright in the individual underlying works.
Database
ProQuest One Academic