{"id":{"repo_id":"qucosa-diss","oai_identifier":"oai:qucosa:de:qucosa:103621"},"canonical_url":"https://search.ndltd.org/etd/qucosa-diss/oai:qucosa:de:qucosa:103621","repository":{"repo_id":"qucosa-diss","name":"QUCOSA","base_url":"http://www.qucosa.de/oai/"},"display":{"title":"Accelerating Data-Intensive Integer Operations on GPU","abstract":"GPUs are interesting accelerators for data-intensive integer workloads. This is due to their highly parallel many-core architecture combined with high memory throughput. Despite these advantages, running data-intensive integer workloads faces major obstacles. Supporting different hardware platforms leads to increased maintenance and implementation costs. To reduce such costs, an abstraction layer called Template Vector Library (TVL) with focus on database operators is shown. In TVL, operators are composed of hardware oblivious SIMD primitives, which are decoupled from their hardware-conscious implementations that map them to specific instruction sets and hardware platforms. GPUs as a non-SIMD architecture are introduced into this abstraction layer. The gap between SIMD and a GPU’s SIMT architecture is bridged by introducing virtual vector engines. Near-native performance is achieved, as the abstraction is performed at compile time using C++ template meta-programming. Aside from improving programmability and portability by using abstraction, the second topic of this thesis is how to accelerate data-intensive integer operations on GPUs in general. This topic is approached using two different strategies. The first is optimizing widely used algorithms. This thesis offers an optimization to GPU-based compaction. A compaction selects a subset of elements by the means of a bitmask and writes them out contiguously. GPUs are parallel architectures that introduce a data dependency when performing parallel compaction. Approaches on how to solve this are discussed. This thesis introduces an optimization for sparse data called SPACE which shows good performance increases over state-of-the-art approaches. The second strategy is leveraging compression techniques to improve data-intensive integer performance on GPUs. Profiling of database queries on GPUs reveals sub-optimal utilization of compute units while achieving near optimal memory throughput. For CPUs, compression is a well-known technique to improve query performance in this scenario. GPU compression approaches, however, are highly specialized and tailored to specific workloads and data characteristics. They are specifically made to fit GPU hardware and make extensive use of its memory hierarchy. However, this leads to high implementation and maintenance costs. Existing approaches are not usable with other operators and in different contexts, as they are not portable to other hardware platforms. In this thesis, Amethyst is introduced, a generalized on-the- fly de/re-compression framework to accelerate data intensive integer operations on GPUs. It allows decoupling compression code from operators by using C++ template programming. Arbitrary C++-compilable code can be injected into sophisticated GPU compression kernels for a set of predefined memory access patterns. Compression schemes are flexible and adapt to changing data charac teristics. Adapting compression formats on-the-fly leads to performance gains. By heavily focusing on using local on-chip memory, such as registers, and avoiding materialization into VRAM, significant speedups are achieved. In summary,different shortcomings in GPU-based data-intensive integer processing are identified and improved upon.","abstract_html":"GPUs are interesting accelerators for data-intensive integer workloads. This is due to their highly parallel many-core architecture combined with high memory throughput. Despite these advantages, running data-intensive integer workloads faces major obstacles. Supporting different hardware platforms leads to increased maintenance and implementation costs. To reduce such costs, an abstraction layer called Template Vector Library (TVL) with focus on database operators is shown. In TVL, operators are composed of hardware oblivious SIMD primitives, which are decoupled from their hardware-conscious implementations that map them to specific instruction sets and hardware platforms. GPUs as a non-SIMD architecture are introduced into this abstraction layer. The gap between SIMD and a GPU’s SIMT architecture is bridged by introducing virtual vector engines. Near-native performance is achieved, as the abstraction is performed at compile time using C++ template meta-programming. Aside from improving programmability and portability by using abstraction, the second topic of this thesis is how to accelerate data-intensive integer operations on GPUs in general. This topic is approached using two different strategies. The first is optimizing widely used algorithms. This thesis offers an optimization to GPU-based compaction. A compaction selects a subset of elements by the means of a bitmask and writes them out contiguously. GPUs are parallel architectures that introduce a data dependency when performing parallel compaction. Approaches on how to solve this are discussed. This thesis introduces an optimization for sparse data called SPACE which shows good performance increases over state-of-the-art approaches. The second strategy is leveraging compression techniques to improve data-intensive integer performance on GPUs. Profiling of database queries on GPUs reveals sub-optimal utilization of compute units while achieving near optimal memory throughput. For CPUs, compression is a well-known technique to improve query performance in this scenario. GPU compression approaches, however, are highly specialized and tailored to specific workloads and data characteristics. They are specifically made to fit GPU hardware and make extensive use of its memory hierarchy. However, this leads to high implementation and maintenance costs. Existing approaches are not usable with other operators and in different contexts, as they are not portable to other hardware platforms. In this thesis, Amethyst is introduced, a generalized on-the- fly de/re-compression framework to accelerate data intensive integer operations on GPUs. It allows decoupling compression code from operators by using C++ template programming. Arbitrary C++-compilable code can be injected into sophisticated GPU compression kernels for a set of predefined memory access patterns. Compression schemes are flexible and adapt to changing data charac teristics. Adapting compression formats on-the-fly leads to performance gains. By heavily focusing on using local on-chip memory, such as registers, and avoiding materialization into VRAM, significant speedups are achieved. In summary,different shortcomings in GPU-based data-intensive integer processing are identified and improved upon.","abstract_has_math":false,"creators":["Fett, Johannes"],"institution":"Technische Universität Dresden","degree_name":null,"degree_level":"thesis.doctoral","degree_discipline":null,"degree_department":"Informatik","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-04-20","date_published":"2026-04-20","updated_at":"2026-11-27T05:32:47Z","subjects":["GPU","Compression","Analytical query processing","Abstraction","Compaction"],"languages":["eng"],"rights":["free","info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[{"key":"dc:publisher.identifier","label":"Dc Publisher Identifier","values":["2024114-8"],"render_values":[{"text":"2024114-8","href":null,"code":true}]},{"key":"ddb:identifier.erstkat_id","label":"Ddb Identifier Erstkat Id","values":["1969693215"],"render_values":[{"text":"1969693215","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-1036214","outbound_label":"Persistent identifier","outbound_source":"dc:identifier.urn","record_url":"https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-1036214","record_label":"Repository record","record_kind":"pid","record_source":"dc:identifier.urn","access_status":"open","embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aqucosa-diss%3Aoai%3Aqucosa%3Ade%3Aqucosa%3A103621","prefix":"oai_dc"},"source_record":{"url":"http://www.qucosa.de/oai/?verb=GetRecord&metadataPrefix=xmetadissplus&identifier=oai%3Aqucosa%3Ade%3Aqucosa%3A103621","prefix":"xmetadissplus"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.referee","label":"Dc Contributor Referee","values":["Lehner, Wolfgang","Fröning, Holger"]},{"key":"dc:creator","label":"Author","values":["Fett, Johannes"]},{"key":"person:academictitle","label":"Person Academictitle","values":["Diplom Informatiker","Prof. Dr."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.created","label":"Dc Date Created","values":["2026"]},{"key":"dc:date.dateaccepted","label":"Dc Date Dateaccepted","values":["2026-04-01"]},{"key":"dc:date.issued","label":"Date","values":["2026-04-20"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2025-12-17"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-04-28"]},{"key":"dc:publisher","label":"Institution","values":["Technische Universität Dresden"]},{"key":"dc:publisher.address","label":"Dc Publisher Address","values":["Helmholtzstr. 10, 01069 Dresden"]},{"key":"dc:publisher.identifier","label":"Dc Publisher Identifier","values":["2024114-8"]},{"key":"dc:publisher.place","label":"Dc Publisher Place","values":["Dresden"]},{"key":"dc:publisher.role","label":"Dc Publisher Role","values":["prv"]},{"key":"dc:type","label":"Dc Type","values":["doctoralThesis"]},{"key":"dc:type.version","label":"Dc Type Version","values":["publishedVersion"]},{"key":"thesis:degree_department","label":"Department","values":["Informatik"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis.doctoral"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Technische Universität Dresden"]},{"key":"thesis:institution_place","label":"Thesis Institution Place","values":["Dresden"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["GPU","Compression","Analytical query processing","Abstraction","Compaction"]},{"key":"dc:subject.ddc","label":"Dc Subject Ddc","values":["004"]},{"key":"dc:subject.rvk","label":"Dc Subject Rvk","values":["ST 170","ST 265","ST 151"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.dcterms_iso639_2","label":"Language (ISO 639-2)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]},{"key":"dc:rights.accessrights","label":"Access Rights","values":["free"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.urn","label":"URN","values":["urn:nbn:de:bsz:14-qucosa2-1036214"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["GPUs are interesting accelerators for data-intensive integer workloads. This is due to their highly parallel many-core architecture combined with high memory throughput. Despite these advantages, running data-intensive integer workloads faces major obstacles. Supporting different hardware platforms leads to increased maintenance and implementation costs. To reduce such costs, an abstraction layer called Template Vector Library (TVL) with focus on database operators is shown. In TVL, operators are composed of hardware oblivious SIMD primitives, which are decoupled from their hardware-conscious implementations that map them to specific instruction sets and hardware platforms. GPUs as a non-SIMD architecture are introduced into this abstraction layer. The gap between SIMD and a GPU’s SIMT architecture is bridged by introducing virtual vector engines. Near-native performance is achieved, as the abstraction is performed at compile time using C++ template meta-programming. Aside from improving programmability and portability by using abstraction, the second topic of this thesis is how to accelerate data-intensive integer operations on GPUs in general. This topic is approached using two different strategies. The first is optimizing widely used algorithms. This thesis offers an optimization to GPU-based compaction. A compaction selects a subset of elements by the means of a bitmask and writes them out contiguously. GPUs are parallel architectures that introduce a data dependency when performing parallel compaction. Approaches on how to solve this are discussed. This thesis introduces an optimization for sparse data called SPACE which shows good performance increases over state-of-the-art approaches. The second strategy is leveraging compression techniques to improve data-intensive integer performance on GPUs. Profiling of database queries on GPUs reveals sub-optimal utilization of compute units while achieving near optimal memory throughput. For CPUs, compression is a well-known technique to improve query performance in this scenario. GPU compression approaches, however, are highly specialized and tailored to specific workloads and data characteristics. They are specifically made to fit GPU hardware and make extensive use of its memory hierarchy. However, this leads to high implementation and maintenance costs. Existing approaches are not usable with other operators and in different contexts, as they are not portable to other hardware platforms. In this thesis, Amethyst is introduced, a generalized on-the- fly de/re-compression framework to accelerate data intensive integer operations on GPUs. It allows decoupling compression code from operators by using C++ template programming. Arbitrary C++-compilable code can be injected into sophisticated GPU compression kernels for a set of predefined memory access patterns. Compression schemes are flexible and adapt to changing data charac teristics. Adapting compression formats on-the-fly leads to performance gains. By heavily focusing on using local on-chip memory, such as registers, and avoiding materialization into VRAM, significant speedups are achieved. In summary,different shortcomings in GPU-based data-intensive integer processing are identified and improved upon."]},{"key":"dc:description.tableofcontents","label":"Dc Description Tableofcontents","values":["1. Introduction 6 1.1. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.1.1. GPU Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.1.2. CPU-GPU Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.3. Acceleration Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.2. Programming Abstraction Mechanisms . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.2.1. General-Purpose Frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.2.2. Database-Specific Approaches . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.2.3. Contributions of this Thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.3. Accelerating Data-Intensive Integer Operations . . . . . . . . . . . . . . . . . . . . 23 1.3.1. Compaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.3.2. Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.3.3. Contributions of this Thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.4. Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2. Towards Porting Hardware-Oblivious Vectorized Query Operators to GPUs 37 2.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.3. Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 2.3.1. Template Vector Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 2.3.2. GPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 2.4. GPU-SIMDization Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.4.1. Vector Length Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.4.2. Comparing with Native CUDA . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.4.3. Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.5. Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.6. Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 2.7. Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3. The Case for SIMDified Analytical Query Processing on GPUs 48 3.1. Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2. SIMDization Experiments on GPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2.1. Investigated TVL Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2.2. Evaluation Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.3. Mastering GPU in TVL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.3.1. Virtual Vector Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 3.3.2. Vector Size to CUDA Configuration . . . . . . . . . . . . . . . . . . . . . . . 52 3.3.3. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 3.4. Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 3.5. Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 4. Accelerating Parallel Operation for Compacting Selected Elements on GPUs 56 4.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.3. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.3.1. Compaction Primitive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.3.2. Bit Mask Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.3.3. NVIDIA GPU Architecture and Execution Model . . . . . . . . . . . . . . . . 59 4.4. SPACE - Accelerating Compaction on GPUs . . . . . . . . . . . . . . . . . . . . . . 59 4.4.1. Phase Variants for Parallel Implementation . . . . . . . . . . . . . . . . . . 60 4.4.2. Overview of SPACE Variants . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 4.5. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.5.1. Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.5.2. Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.5.3. Experimental Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.5.4. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.6. Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.7. Conclusion and Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5. Improving GPU Matrix Multiplication by Leveraging Bit Level Granularity and Com- pression 69 5.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.3. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.3.1. GPU Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.3.2. Compression on GPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4. BEAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4.1. Output Bit Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4.2. Overflow Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4.3. Matrix Memory Representation . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.4.4. Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.5. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.5.1. Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.5.2. Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.5.3. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.6. Related work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5.7. Conclusion and summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6. Amethyst - A Generalized on-the-fly De/Re-compression Framework to Accelerate Data-intensive Integer Operations on GPUs 77 6.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3. Background and Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.4. Amethyst Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.4.1. General Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.4.2. Prototypical Implementation for Integer Data . . . . . . . . . . . . . . . . . 80 6.4.3. Amethyst Prototype Algorithm Overview . . . . . . . . . . . . . . . . . . . . 81 6.5. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.6. Conclusion and Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 A. Appendix 89 A.1. Profiling results filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89"]},{"key":"dc:title","label":"Title","values":["Accelerating Data-Intensive Integer Operations on GPU"]},{"key":"dc:title.alternative","label":"Alternative Title","values":["Beschleunigung von Datenintensiven Integer Operationen auf GPU"]},{"key":"ddb:filenumber","label":"Ddb Filenumber","values":["1"]},{"key":"ddb:identifier.erstkat_id","label":"Ddb Identifier Erstkat Id","values":["1969693215"]},{"key":"ddb:transfer","label":"Ddb Transfer","values":["https://tud.qucosa.de/api/qucosa%3A103621/zip/"]}]}],"canonical_facts":{"dc:contributor.referee":["Lehner, Wolfgang","Fröning, Holger"],"dc:creator":["Fett, Johannes"],"dc:date.created":["2026"],"dc:date.dateaccepted":["2026-04-01"],"dc:date.issued":["2026-04-20"],"dc:date.submitted":["2025-12-17"],"dc:date.updated":["2026-04-28"],"dc:description.abstract":["GPUs are interesting accelerators for data-intensive integer workloads. This is due to their highly parallel many-core architecture combined with high memory throughput. Despite these advantages, running data-intensive integer workloads faces major obstacles. Supporting different hardware platforms leads to increased maintenance and implementation costs. To reduce such costs, an abstraction layer called Template Vector Library (TVL) with focus on database operators is shown. In TVL, operators are composed of hardware oblivious SIMD primitives, which are decoupled from their hardware-conscious implementations that map them to specific instruction sets and hardware platforms. GPUs as a non-SIMD architecture are introduced into this abstraction layer. The gap between SIMD and a GPU’s SIMT architecture is bridged by introducing virtual vector engines. Near-native performance is achieved, as the abstraction is performed at compile time using C++ template meta-programming. Aside from improving programmability and portability by using abstraction, the second topic of this thesis is how to accelerate data-intensive integer operations on GPUs in general. This topic is approached using two different strategies. The first is optimizing widely used algorithms. This thesis offers an optimization to GPU-based compaction. A compaction selects a subset of elements by the means of a bitmask and writes them out contiguously. GPUs are parallel architectures that introduce a data dependency when performing parallel compaction. Approaches on how to solve this are discussed. This thesis introduces an optimization for sparse data called SPACE which shows good performance increases over state-of-the-art approaches. The second strategy is leveraging compression techniques to improve data-intensive integer performance on GPUs. Profiling of database queries on GPUs reveals sub-optimal utilization of compute units while achieving near optimal memory throughput. For CPUs, compression is a well-known technique to improve query performance in this scenario. GPU compression approaches, however, are highly specialized and tailored to specific workloads and data characteristics. They are specifically made to fit GPU hardware and make extensive use of its memory hierarchy. However, this leads to high implementation and maintenance costs. Existing approaches are not usable with other operators and in different contexts, as they are not portable to other hardware platforms. In this thesis, Amethyst is introduced, a generalized on-the- fly de/re-compression framework to accelerate data intensive integer operations on GPUs. It allows decoupling compression code from operators by using C++ template programming. Arbitrary C++-compilable code can be injected into sophisticated GPU compression kernels for a set of predefined memory access patterns. Compression schemes are flexible and adapt to changing data charac teristics. Adapting compression formats on-the-fly leads to performance gains. By heavily focusing on using local on-chip memory, such as registers, and avoiding materialization into VRAM, significant speedups are achieved. In summary,different shortcomings in GPU-based data-intensive integer processing are identified and improved upon."],"dc:description.tableofcontents":["1. Introduction 6 1.1. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.1.1. GPU Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.1.2. CPU-GPU Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.3. Acceleration Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.2. Programming Abstraction Mechanisms . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.2.1. General-Purpose Frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.2.2. Database-Specific Approaches . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.2.3. Contributions of this Thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.3. Accelerating Data-Intensive Integer Operations . . . . . . . . . . . . . . . . . . . . 23 1.3.1. Compaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.3.2. Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.3.3. Contributions of this Thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.4. Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2. Towards Porting Hardware-Oblivious Vectorized Query Operators to GPUs 37 2.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.3. Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 2.3.1. Template Vector Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 2.3.2. GPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 2.4. GPU-SIMDization Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.4.1. Vector Length Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.4.2. Comparing with Native CUDA . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.4.3. Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.5. Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.6. Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 2.7. Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3. The Case for SIMDified Analytical Query Processing on GPUs 48 3.1. Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2. SIMDization Experiments on GPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2.1. Investigated TVL Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2.2. Evaluation Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.3. Mastering GPU in TVL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.3.1. Virtual Vector Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 3.3.2. Vector Size to CUDA Configuration . . . . . . . . . . . . . . . . . . . . . . . 52 3.3.3. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 3.4. Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 3.5. Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 4. Accelerating Parallel Operation for Compacting Selected Elements on GPUs 56 4.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.3. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.3.1. Compaction Primitive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.3.2. Bit Mask Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.3.3. NVIDIA GPU Architecture and Execution Model . . . . . . . . . . . . . . . . 59 4.4. SPACE - Accelerating Compaction on GPUs . . . . . . . . . . . . . . . . . . . . . . 59 4.4.1. Phase Variants for Parallel Implementation . . . . . . . . . . . . . . . . . . 60 4.4.2. Overview of SPACE Variants . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 4.5. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.5.1. Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.5.2. Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.5.3. Experimental Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.5.4. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.6. Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.7. Conclusion and Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5. Improving GPU Matrix Multiplication by Leveraging Bit Level Granularity and Com- pression 69 5.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.3. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.3.1. GPU Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.3.2. Compression on GPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4. BEAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4.1. Output Bit Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4.2. Overflow Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.4.3. Matrix Memory Representation . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.4.4. Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.5. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.5.1. Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.5.2. Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.5.3. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.6. Related work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5.7. Conclusion and summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6. Amethyst - A Generalized on-the-fly De/Re-compression Framework to Accelerate Data-intensive Integer Operations on GPUs 77 6.1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3. Background and Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.4. Amethyst Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.4.1. General Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.4.2. Prototypical Implementation for Integer Data . . . . . . . . . . . . . . . . . 80 6.4.3. Amethyst Prototype Algorithm Overview . . . . . . . . . . . . . . . . . . . . 81 6.5. Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.6. Conclusion and Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 A. Appendix 89 A.1. Profiling results filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89"],"dc:identifier.urn":["urn:nbn:de:bsz:14-qucosa2-1036214"],"dc:language.dcterms_iso639_2":["eng"],"dc:publisher":["Technische Universität Dresden"],"dc:publisher.address":["Helmholtzstr. 10, 01069 Dresden"],"dc:publisher.identifier":["2024114-8"],"dc:publisher.place":["Dresden"],"dc:publisher.role":["prv"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:rights.accessrights":["free"],"dc:subject":["GPU","Compression","Analytical query processing","Abstraction","Compaction"],"dc:subject.ddc":["004"],"dc:subject.rvk":["ST 170","ST 265","ST 151"],"dc:title":["Accelerating Data-Intensive Integer Operations on GPU"],"dc:title.alternative":["Beschleunigung von Datenintensiven Integer Operationen auf GPU"],"dc:type":["doctoralThesis"],"dc:type.version":["publishedVersion"],"ddb:filenumber":["1"],"ddb:identifier.erstkat_id":["1969693215"],"ddb:transfer":["https://tud.qucosa.de/api/qucosa%3A103621/zip/"],"person:academictitle":["Diplom Informatiker","Prof. Dr."],"thesis:degree_department":["Informatik"],"thesis:degree_level":["thesis.doctoral"],"thesis:institution_name":["Technische Universität Dresden"],"thesis:institution_place":["Dresden"]},"updated_at":"2026-11-27T05:32:47Z"}