Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Reproducible Power Method in Parallel Environments
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Reproducible and accurate eigenvalue computation is critical in many scientific and engineering problems, particularly when solving large and sparse linear systems. The power method is an iterative algorithm, efficient for computing the dominant eigenvalue in such systems. This project investigates four parallel implementations of the power method, OpenMP, OpenMP Offloading, CUDA, and CUDA with ExBLAS, with the goal of enhancing reproducibility while ensuring performance. While one might expect different run of the parallel power method to compute the same result, this is not guaranteed due to the fact that floating-point operations are non-associative. We evaluate each implementation using five sparse matrices from the Suite Sparse Matrix Collection, measuring both reproducibility and execution time. The results show that only the CUDA ExBLAS implementation consistently produces reproducible results with high accuracy across all configurations. For lower precision 10-6 all implementations produced reproducible results. In terms of performance, OpenMP achieved the best execution times, while CUDA ExBLAS performed the slowest on a gaming GPU. However, with access to hardware optimized for scientific computation, both CUDA and CUDA ExBLAS are expected to deliver significantly better performance.

Place, publisher, year, edition, pages
2025. , p. 46
Series
IT ; kDV 25 027
Keywords [en]
power method, parallel, reproducible
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:uu:diva-565304OAI: oai:DiVA.org:uu-565304DiVA, id: diva2:1990191
Educational program
Bachelor Programme in Computer Science
Supervisors
Examiners
Available from: 2025-08-20 Created: 2025-08-19 Last updated: 2025-08-20Bibliographically approved

Open Access in DiVA

fulltext(843 kB)113 downloads
File information
File name FULLTEXT01.pdfFile size 843 kBChecksum SHA-512
7397f24f66d4baa422c36ef3bb6a07ccc44a1e16314c8af19331dab77d67523c7aecd29bbc7a635c4738f51ecfdc3956f4eb098ef7e04d883ae4ab8389c53337
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 116 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 444 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf