Back to search

Texas State University

From Sequential to Hybrid Evaluating Parallel Programming on CPUs and GPUs

Abstract

dc:description.abstract

For my Honors capstone, I used six parallel programming projects to study how the same kinds of workloads behave on CPUs, GPUs, and distributed systems. I started with serial C++ programs and then worked through MPI, Pthreads, OpenMP, CUDA, and a hybrid implementation that combined MPI, OpenMP, and CUDA. I studied vector addition, Collatz sequences, fractal rendering, matrix multiplication, and maximal independent sets. In one experiment, the Pthreads fractal achieved a 47.57× speedup at 48 threads relative to one thread. In another, changing which matrix multiplication loop ran in parallel changed the OpenMP compute time from 0.51 to 25.14 seconds at the same thread count. For the final project, four GPUs achieved a 4.06× compute speedup over one GPU for matrices of size 8192. In the hybrid fractal test, assigning 3% of the pixels to the CPU gave the lowest measured compute time. Across the projects, I found that performance depended on how I divided the work, how much data had to move, and how often workers needed to coordinate.

Degree

thesis:*
Department dc:contributor.department
Computer Science
Year dc:date.issued
2027

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Baniya, Aaditya
Advisor dc:contributor.advisor
  • Burtscher, Martin

Subjects

dc:subject × 6

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10877/25409

Chain of custody

source
Harvested from
Texas State University
Base URL
digital.library.txst.edu/server/oai/request
Last updated
2026-12-05
Source record
OAI-PMH GetRecord
citation

Baniya, Aaditya. From Sequential to Hybrid Evaluating Parallel Programming on CPUs and GPUs. 2027. https://hdl.handle.net/10877/25409