Kseniya Tikhomirova 4cec4938c6
[SYCL] Add libsycl, a SYCL RT library implementation project (#144372)
This patch introduces libsycl, a SYCL runtime library implementation, as
a top-level LLVM runtime project.
SYCL spec:
https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html

Commit contains the basic folder layout and CMake infrastructure to
build a dummy SYCL library.

This is part of the SYCL support upstreaming effort. The relevant RFCs
can be found here:


https://discourse.llvm.org/t/rfc-add-full-support-for-the-sycl-programming-model/74080
https://discourse.llvm.org/t/rfc-sycl-runtime-upstreaming/74479

Upcoming PRs:
- UR offloading library fetch & build 
- partial implementation of sycl::platform: requires offloading layer,
requires classes for backend loading & enumeration.

---------

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
2025-07-31 11:28:39 -07:00

31 lines
892 B
C++

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file is a SYCL 1.2.1 standard header file. Deprecated.
///
//===----------------------------------------------------------------------===//
#ifndef _LIBSYCL_CL_SYCL_HPP
#define _LIBSYCL_CL_SYCL_HPP
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wpedantic"
# warning "CL/sycl.hpp is deprecated, use sycl/sycl.hpp"
# pragma clang diagnostic pop
#endif
#include <sycl/sycl.hpp>
namespace cl {
namespace sycl = ::sycl;
}
#endif // _LIBSYCL_CL_SYCL_HPP