diplomsko delo
Vid Purgar (Author), Uroš Lotrič (Mentor)

Abstract

V diplomskem delu obravnavamo univerzalne knjižnice za vzporedno programiranje v jezikih C in C++ s poudarkom na ogrodjih OpenCL in SYCL. Pristop OpenCL na nizki ravni ponuja natančen nadzor nad heterogenimi računskimi napravami, medtem ko abstrakcija SYCL omogoča pisanje programov za vzporedno računanje na višji ravni v jeziku C++. Ogrodji smo testirali na treh algoritmih, ki pokrijejo področja, za katera se najpogosteje uporabljajo grafične procesne enote, to so računanje zgoščenih vrednosti, obdelava slik ter učenje nevronskih mrež. Rezultati so pokazali, da je bila rešitev, napisana s pomočjo ogrodja OpenCL v vseh treh primerih hitrejša kot rešitev, napisana s pomočjo ogrodja SYCL, pri kateri pa je bila koda precej krajša in bolj pregledna.

Keywords

grafični pospeševalniki;OpenCL;SYCL;univerzitetni študij;diplomske naloge;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UL FRI - Faculty of Computer and Information Science
Publisher: [V. Purgar]
UDC: 004(043.2)
COBISS: 164767491 Link will open in a new window
Views: 52
Downloads: 8
Average score: 0 (0 votes)
Metadata: JSON JSON-RDF JSON-LD TURTLE N-TRIPLES XML RDFA MICRODATA DC-XML DC-RDF RDF

Other data

Secondary language: English
Secondary title: Comparison of universal libraries for graphics accelerators
Secondary abstract: This paper is about universal libraries for parallel programming in C and C++, focusing on OpenCL and SYCL. The low-level approach of OpenCL offers precise control over heterogeneous devices, while the abstraction of SYCL allows for writing of higher-level parallel computing programs in C++. We tested the two frameworks on three algorithms covering the areas most commonly used by GPUs, which are computing hash values, image processing and training neural networks. The results showed that the algorithm written using the OpenCL framework outperformed the algorithm written using the SYCL framework for all three algorithms in terms of speed, but the SYCL framework required less code and had better readability.
Secondary keywords: graphics accelerators;OpenCL;SYCL;parallel computing;computer and information science;diploma;Računalništvo;Univerzitetna in visokošolska dela;
Type (COBISS): Bachelor thesis/paper
Study programme: 1000468
Embargo end date (OpenAIRE): 1970-01-01
Thesis comment: Univ. v Ljubljani, Fak. za računalništvo in informatiko
Pages: 53 str.
ID: 19892460