Enregistré dans:
Détails bibliographiques
Auteurs principaux: Tan, Zhiyuan, Han, Liutong, Xing, Mingjie, Wu, Yanjun
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:https://arxiv.org/abs/2407.09333
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909635433201664
author Tan, Zhiyuan
Han, Liutong
Xing, Mingjie
Wu, Yanjun
author_facet Tan, Zhiyuan
Han, Liutong
Xing, Mingjie
Wu, Yanjun
contents In the era of diminishing returns from Moores Law, heterogeneous computing systems have emerged as a vital approach to enhance computational efficiency. This paper introduces a novel MLIR-based dialect, named hyper, designed to optimize data management and parallel computation across diverse hardware architectures. The hyper dialect abstracts the complexities of heterogeneous computing by providing a unified compilation framework that efficiently schedules tasks and manages data communication. To demonstrate its capabilities, we present HETOCompiler, a cryptography-focused compiler prototype that implements multiple hash algorithms and enables their execution on heterogeneous systems. The proposed approach achieves performance improvements over existing programming models for heterogeneous computing (OpenCL), offering an average speedup of 1.93x, 1.18x, and 1.12x for SHA-1, MD5, and SM3 algorithms, respectively. Our findings highlight the potential of the hyper dialect in harnessing the full computational power of heterogeneous devices, advancing the field of compiler design for heterogeneous systems.
format Preprint
id arxiv_https___arxiv_org_abs_2407_09333
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Method for Efficient Heterogeneous Parallel Compilation: A Cryptography Case Study
Tan, Zhiyuan
Han, Liutong
Xing, Mingjie
Wu, Yanjun
Cryptography and Security
In the era of diminishing returns from Moores Law, heterogeneous computing systems have emerged as a vital approach to enhance computational efficiency. This paper introduces a novel MLIR-based dialect, named hyper, designed to optimize data management and parallel computation across diverse hardware architectures. The hyper dialect abstracts the complexities of heterogeneous computing by providing a unified compilation framework that efficiently schedules tasks and manages data communication. To demonstrate its capabilities, we present HETOCompiler, a cryptography-focused compiler prototype that implements multiple hash algorithms and enables their execution on heterogeneous systems. The proposed approach achieves performance improvements over existing programming models for heterogeneous computing (OpenCL), offering an average speedup of 1.93x, 1.18x, and 1.12x for SHA-1, MD5, and SM3 algorithms, respectively. Our findings highlight the potential of the hyper dialect in harnessing the full computational power of heterogeneous devices, advancing the field of compiler design for heterogeneous systems.
title A Method for Efficient Heterogeneous Parallel Compilation: A Cryptography Case Study
topic Cryptography and Security
url https://arxiv.org/abs/2407.09333