Skip to content

[GSoC 2021] Compiler Explorer for Halide

Alex Reinking edited this page Mar 16, 2021 · 5 revisions

Detailed Description

This project aims to integrate the Halide compiler with the Compiler Explorer. Given a Halide program along with a schedule, we want to visualize the generated code, either in the loopnest form via print_loop_nest, or in C via the C code generation, or in the target code such as llvm, x86, PTX, or OpenCL. This would be useful for exploring different schedules when writing Halide programs, for sharing and demonstrating different Halide features or issues, and for debugging the Halide compiler. See #4712 for more discussions.

Expected Outcome

A pull request to the Compiler Explorer repository that adds Halide to the compiler list.

Stretch goal(s):

  • Maps the generated code back to the original Halide program.

Skills

C++ and web development experience (NodeJS, ES6) are required.

Difficulty Level

Hard

Application materials

When reaching out to apply for this project, please include the following:

  1. Source code samples in C++, ie. links to a GitHub repo with clear contributions.
  2. Source code samples in JavaScript (ES6), ie. links to a GitHub repo with clear contributions.

We might ask you, as part of your application, to complete a short coding challenge.

Incomplete applications will not be considered.

Mentor