Philipp Schaad

Philipp Schaad

Auto-generated profile, based on publicly available information

Philipp Schaad

ETH Zurich, Zurich, Switzerland

Research Focus & Metrics

Academic Career Length

4Years (2023-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
21 June 2023
Verified
Conference Paper
Open access
LTLukas Trümper
Lukas Trümper
TBTal Ben-Nun
Tal Ben-Nun
PSPhilipp Schaad
Philipp Schaad
ACAlexandru Calotoiu
Alexandru Calotoiu
THTorsten Hoefler
Torsten Hoefler
Performance optimization is an increasingly challenging but often repetitive task. While each platform has its quirks, the underlying code transformations rely on data movement and computational characteristics that recur across applications. This paper proposes to leverage those similarities by constructing an embedding space for subprograms. The continuous space captures both static and dynamic properties of loop nests via symbolic code analysis and performance profiling, respectively. Performance embeddings enable direct knowledge transfer of performance tuning between applications, which can result from autotuning or tailored improvements. We demonstrate this transfer tuning approach on case studies in deep neural networks, dense and sparse linear algebra compositions, and numerical weather prediction stencils. Transfer tuning reduces the search complexity by up to four orders of magnitude and outperforms the MKL library in sparse-dense matrix multiplication. The results exhibit clear correspondences between program characteristics and optimizations, outperforming prior specialized state-of-the-art approaches and generalizing beyond their capabilities.

11 November 2023
Verified
Conference Paper
Open access
PSPhilipp Schaad
Philipp Schaad
TSTimo Schneider
Timo Schneider
TBTal Ben-Nun
Tal Ben-Nun
ACAlexandru Calotoiu
Alexandru Calotoiu
AZAlexandros Nikolaos Ziogas
Alexandros Nikolaos Ziogas
THTorsten Hoefler
Torsten Hoefler

1 March 2025
Verified
Conference Paper
Open access
LTLukas Trümper
Lukas Trümper
PSPhilipp Schaad
Philipp Schaad
BABerke Ates
Berke Ates
ACAlexandru Calotoiu
Alexandru Calotoiu
MCMarcin Copik
Marcin Copik
THTorsten Hoefler
Torsten Hoefler
The same computations are often expressed differently across software projects and programming languages. In particular, how computations involving loops are expressed varies due to the many possibilities to permute and compose loops. Since each variant may have unique performance properties, automatic approaches to loop scheduling must support many different optimization recipes. In this paper, we propose a priori loop nest normalization to align loop nests and reduce the variation before the optimization. Specifically, we define and apply normalization criteria, mapping loop nests with different memory access patterns to the same canonical form. Since the memory access pattern is susceptible to loop variations and critical for performance, this normalization allows many loop nests to be optimized by the same optimization recipe. To evaluate our approach, we apply the normalization with optimizations designed for only the canonical form, improving the performance of many different loop nest variants. Across multiple implementations of 15 benchmarks using different languages, we outperform a baseline compiler in C on average by a factor of 21.13, state-of-the-art auto-schedulers such as Polly and the Tiramisu auto-scheduler by 2.31 and 2.89, as well as performance-oriented Python-based frameworks such as NumPy, Numba, and DaCe by 9.04, 3.92, and 1.47. Furthermore, we apply the concept to the CLOUDSC cloud microphysics scheme, an actively used component of the Integrated Forecasting System, achieving a 10% speedup over the highly-tuned Fortran code.


4 November 2026 in ACM Transactions on Architecture and Code Optimization
Verified
Journal Article
Open access
PSPhilipp Schaad
Philipp Schaad
TBTal Ben-Nun
Tal Ben-Nun
PIPatrick Iff
Patrick Iff
THTorsten Hoefler
Torsten Hoefler
Scientific computing applications heavily rely on multi-level loop nests operating on multidimensional arrays. This presents multiple optimization opportunities, from exploiting parallelism to hiding memory latency through prefetching and reducing data movement through improved register usage. HPC frameworks often delegate fine-grained data movement optimization to compilers, but their low-level representations hamper analysis of common patterns, such as strided data accesses and loop-carried dependencies. In this paper, we introduce symbolic, inductive loop optimization (SILO), a novel technique that models data accesses and dependencies as functions of loop nest strides. This abstraction enables the automatic parallelization of sequentially-dependent loops, as well as data movement optimizations including software prefetching and pointer incrementation to reduce register spills. We demonstrate SILO on fundamental kernels from scientific applications with a focus on atmospheric models and numerical solvers, achieving up to 12 × speedup over the state of the art.