LAPIS: A Performance Portable, High Productivity Compiler Framework

View at publisher
Authors: Brian Kelley, Sivasankaran Rajamanickam
Cited by: 0

Abstract

Portability, performance, and productivity are three critical dimensions for evaluating a programming model or compiler infrastructure. Several modern programming models for computational science focus on performance and portability. On the other end, several artificial intelligence focused programming frameworks focus on portability and productivity natively with performance addressed through integration of hand-optimized libraries and tighter integration with an ecosystem for specific hardware. A clear extensible solution that is strong in all three dimensions has yet to emerge. A second related problem arises in the use of artificial intelligence for science when use cases from computational science converge with artificial intelligence. The disparate popular frameworks of these fields require programmers to manually integrate codes written in different programming languages or frameworks. Finally, several programming frameworks lack easy options for extensibility as any new computer architecture change require complex changes to the programming models. We present LAPIS, an MLIR-based compiler that addresses all three of these challenges. We demonstrate that LAPIS can automatically lower sparse and dense linear algebra kernels from computational science and artificial intelligence use cases. We also show how LAPIS facilitates the integration of codes between PyTorch and Kokkos. We compare kernel performance with the default MLIR implementations on diverse architectures to demonstrate portability. By developing a dialect that is built on the principles of the Kokkos ecosystem, LAPIS also allows extensibility of the framework to new architectures.

Fields of Study & Subjects

Parallel Computing and Optimization Techniques Embedded Systems Design Techniques Logic programming and type systems

Publication details

Journal / source
Society for Industrial and Applied Mathematics eBooks
Pages
60–73
Publication date
13 February 2026
Language
EN