[all-commits] [llvm/llvm-project] dcd5e4: [clang-sycl-linker] Add AOT compilation support fo...

Justin Cai via All-commits all-commits at lists.llvm.org
Tue May 13 08:40:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcd5e476d91da267f49b837c07a84df43b1800cd
      https://github.com/llvm/llvm-project/commit/dcd5e476d91da267f49b837c07a84df43b1800cd
  Author: Justin Cai <justin.cai at intel.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M clang/test/Driver/clang-sycl-linker-test.cpp
    M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
    M clang/tools/clang-sycl-linker/SYCLLinkOpts.td

  Log Message:
  -----------
  [clang-sycl-linker] Add AOT compilation support for Intel GPUs/CPUs (#133194)

This PR adds support for AOT compilation for Intel CPUs and GPUs in
clang-sycl-linker. When no `-arch` is passed to `clang-sycl-linker`, the
output of the tool will be the resulting linked SPIR-V bytecode. If the
`-arch` is passed to `clang-sycl-linker` and the value is a supported
Intel CPU or GPU, then SPIR-V bytecode is then further passed to the
respective tool (`opencl-aot` or `ocloc`) for AOT compilation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list