[all-commits] [llvm/llvm-project] 2b93b3: [libsycl] Add liboffload kernel creation (#188794)

Kseniya Tikhomirova via All-commits all-commits at lists.llvm.org
Fri Apr 17 03:42:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b93b3ca7932d415d7f1c3b029f9e39a0a41272e
      https://github.com/llvm/llvm-project/commit/2b93b3ca7932d415d7f1c3b029f9e39a0a41272e
  Author: Kseniya Tikhomirova <kseniya.tikhomirova at intel.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M libsycl/src/CMakeLists.txt
    A libsycl/src/detail/device_image_wrapper.cpp
    M libsycl/src/detail/device_image_wrapper.hpp
    M libsycl/src/detail/device_impl.hpp
    A libsycl/src/detail/device_kernel_info.hpp
    R libsycl/src/detail/kernel_id.hpp
    M libsycl/src/detail/program_manager.cpp
    M libsycl/src/detail/program_manager.hpp

  Log Message:
  -----------
  [libsycl] Add liboffload kernel creation (#188794)

This commit extends ProgramAndKernelManager functionality with kernel
creation.

First, it introduces device kernel info object containing kernel data
that is uniform for submissions of the same kernel. This object helps to
avoid kernel data lookup for subsequent calls of the same kernel. This
data is used to create kernel or to find kernel symbol if it has already
been created.

Second, this commit introduces wrappers to manage kernel related data
and its lifetime. Wrappers are implemented for:
1) programs, wrapper is a RAII helper and calls liboffload
create/release methods for program
2) device images, keeps built programs and provide methods to search
existing programs and to add new ones.

---------

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
Co-authored-by: Alexey Bader <alexey.bader at intel.com>



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