28465

ProtoX: A First Look

Het Mankad, Sanil Rao, Brian Van Straalen, Phillip Colella, Franz Franchetti
Electrical and Computer Engineering Department Carnegie Mellon University, Pittsburgh, PA, USA
arXiv:2307.07931 [cs.MS], (16 Jul 2023)

@misc{mankad2023protox,

   title={ProtoX: A First Look},

   author={Het Mankad and Sanil Rao and Brian Van Straalen and Phillip Colella and Franz Franchetti},

   year={2023},

   eprint={2307.07931},

   archivePrefix={arXiv},

   primaryClass={cs.MS}

}

Download Download (PDF)   View View   Source Source   

497

views

We present a first look at ProtoX, a code generation framework for stencil and pointwise operations that occur frequently in the numerical solution of partial differential equations. ProtoX has Proto as its library frontend and SPIRAL as the backend. Proto is a C++ based domain specific library which optimizes the algorithms used to compute the numerical solution of partial differential equations. Meanwhile, SPIRAL is a code generation system that focuses on generating highly optimized target code. Although the current design layout of Proto and its high level of abstractions provide a user friendly set up, there is still a room for improving it’s performance by applying various techniques either at a compiler level or at an algorithmic level. Hence, in this paper we propose adding SPIRAL as the library backend for Proto enabling abstraction fusion, which is usually difficult to perform by any compiler. We demonstrate the construction of ProtoX by considering the 2D Poisson equation as a model problem from Proto. We provide the final generated code for CPU, Multi-core CPU, and GPU as well as some performance numbers for CPU.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: