nomp: A Framework for Building Domain Specific Compilers
The authors propose nomp, a framework for building domain-specific compilers to improve programmer productivity without sacrificing performance and portability.
nomp proposes a novel approach to building domain-specific compilers that reuses optimization patterns specific to a given domain.
Before reading this…
Applications
- →GPU programming
- →compiler frameworks
To understand this paper, make sure you know these concepts first:
- GPU programming modelsfind papers →
- compiler frameworksfind papers →
Abstract
More Like ThisThe low-level GPU programming models (CUDA, HIP, OpenCL, etc.) provide detailed control of the data flow and execution plan of a program in order to extract close-to-metal performance. However, these have a steep learning curve due to the intricacies of their syntax and semantics. This reduces programmer productivity. On the other hand, high-level models (OpenMP, OpenACC, etc.) that serve as abstractions over the low-level models are aimed at improving programmer productivity but achieving performance on-par with the low-level models is a challenge. There are inherent trade-offs between productivity, portability and performance in both approaches and there is no one-size-fits-all solution which achieves all three simultaneously. However, we believe there is room to improve programmer productivity without sacrificing performance and portability by reusing optimization patterns specific to a given domain. To this end, we propose nomp: a framework for building domain specific compilers. nomp consists of a pragma based programming model and a runtime capable of code transformation and generation based on user provided metadata.