[clang-tools-extra] [MLIR] Enabling Intel GPU Integration. (PR #65539)

Renato Golin via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 7 01:53:03 PDT 2023


rengolin wrote:

> At some point it would be nice to have some design document or documentation somewhere explaining how all these MLIR runners works, including this one.

The idea is to eventually consolidate all runners into one. This PR is just another piece of the puzzle.

Once we're all happy with how the runners work, we should common them up using command line options to select the "type" and CMake options to enable particular runner types (depending on the runtimes and hardware available).

> Globally this PR add a SYCL runner, but it is very specific for Intel Level 0. It would be nice to have in the future some generalization, like SYCL using OpenCL interoperability interface to run the SPIR-V kernels or even native kernels.

Agreed! The SYCL runtime here is just being used to abstract the LevelZero calls, but this work will be helpful when adding a full SYCL runner (actual language extensions and libraries) to other CPUs/GPUs later. 

https://github.com/llvm/llvm-project/pull/65539


More information about the cfe-commits mailing list