llvm/llvm-project
libsycl
libsycl/ is an implementation of the SYCL 2020 runtime library. SYCL is a Khronos C++ programming model for heterogeneous compute (CPUs, GPUs, FPGAs); libsycl is the host-side runtime that backs it.
Purpose
Per libsycl/README.md:
The libsycl subproject is an implementation of the SYCL runtime library as defined by the SYCL 2020 specification. libsycl runtime library and headers require C++17 support or higher.
The subproject is young at the time of this snapshot — README.md lists "How to use libsycl with Clang" and "How to build" as TODOs. Treat the directory as actively under construction; the long-term goal is a SYCL implementation aligned with the rest of the LLVM toolchain.
Directory layout
libsycl/
├── include/ # Public SYCL headers
├── lib/ # Implementation
├── docs/
├── cmake/
├── test/
├── README.md
└── LICENSE.TXTIntegration points
- Offload (
offload) — the lower layer that handles device discovery, kernel launch, and memory transfer. - Clang — SYCL kernels are typically compiled by Clang's SYCL device pipeline.
- OpenMP runtime (
openmp) and GPU libc (libc) cooperate with libsycl on supported platforms.
Entry points for modification
The subproject is small — see libsycl/lib/ for current implementation files. New work is best coordinated on Discourse before landing structural changes, since the subproject is still settling its public surface.
Reference
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.
Previous
offload
Next
libclc