Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sycl/include/sycl/define_vendors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
#pragma once

#define SYCL_IMPLEMENTATION_ONEAPI
#define SYCL_FEATURE_SET_FULL
#define SYCL_IMPLEMENTATION_INTEL
5 changes: 0 additions & 5 deletions sycl/include/sycl/detail/is_device_copyable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
#include <type_traits>
#include <variant>

/// This macro must be defined to 1 when SYCL implementation allows user
/// applications to explicitly declare certain class types as device copyable
/// by adding specializations of is_device_copyable type trait class.
#define SYCL_DEVICE_COPYABLE 1

namespace sycl {
inline namespace _V1 {
/// is_device_copyable is a user specializable class template to indicate
Expand Down
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/accessor.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_ACCESSOR
#define __SYCL_KHR_INCLUDES_ACCESSOR

#include "version.hpp"

#include <sycl/accessor.hpp>

#endif // __SYCL_KHR_INCLUDES_ACCESSOR
17 changes: 17 additions & 0 deletions sycl/include/sycl/khr/includes/atomic.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_ATOMIC
#define __SYCL_KHR_INCLUDES_ATOMIC

#include "version.hpp"

#include <sycl/atomic_fence.hpp>
#include <sycl/atomic_ref.hpp>

#endif // __SYCL_KHR_INCLUDES_ATOMIC
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/backend.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_BACKEND
#define __SYCL_KHR_INCLUDES_BACKEND

#include "version.hpp"

#include <sycl/backend.hpp>

#endif // __SYCL_KHR_INCLUDES_BACKEND
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/bit.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_BIT
#define __SYCL_KHR_INCLUDES_BIT

#include "version.hpp"

#include <sycl/bit_cast.hpp>

#endif // __SYCL_KHR_INCLUDES_BIT
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/buffer.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_BUFFER
#define __SYCL_KHR_INCLUDES_BUFFER

#include "version.hpp"

#include <sycl/buffer.hpp>

#endif // __SYCL_KHR_INCLUDES_BUFFER
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/byte.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_BYTE
#define __SYCL_KHR_INCLUDES_BYTE

#include "version.hpp"

#include <sycl/aliases.hpp>

#endif // __SYCL_KHR_INCLUDES_BYTE
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/context.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_CONTEXT
#define __SYCL_KHR_INCLUDES_CONTEXT

#include "version.hpp"

#include <sycl/context.hpp>

#endif // __SYCL_KHR_INCLUDES_CONTEXT
17 changes: 17 additions & 0 deletions sycl/include/sycl/khr/includes/device.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_DEVICE
#define __SYCL_KHR_INCLUDES_DEVICE

#include "version.hpp"

#include <sycl/aspects.hpp>
#include <sycl/device.hpp>

#endif // __SYCL_KHR_INCLUDES_DEVICE
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/event.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_EVENT
#define __SYCL_KHR_INCLUDES_EVENT

#include "version.hpp"

#include <sycl/event.hpp>

#endif // __SYCL_KHR_INCLUDES_EVENT
17 changes: 17 additions & 0 deletions sycl/include/sycl/khr/includes/exception.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_EXCEPTION
#define __SYCL_KHR_INCLUDES_EXCEPTION

#include "version.hpp"

#include <sycl/exception.hpp>
#include <sycl/exception_list.hpp>

#endif // __SYCL_KHR_INCLUDES_EXCEPTION
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/functional.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_FUNCTIONAL
#define __SYCL_KHR_INCLUDES_FUNCTIONAL

#include "version.hpp"

#include <sycl/functional.hpp>

#endif // __SYCL_KHR_INCLUDES_FUNCTIONAL
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/group_algorithms.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_GROUP_ALGORITHMS
#define __SYCL_KHR_INCLUDES_GROUP_ALGORITHMS

#include "version.hpp"

#include <sycl/group_algorithm.hpp>

#endif // __SYCL_KHR_INCLUDES_GROUP_ALGORITHMS
19 changes: 19 additions & 0 deletions sycl/include/sycl/khr/includes/groups.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_GROUPS
#define __SYCL_KHR_INCLUDES_GROUPS

#include "version.hpp"

#include <sycl/group.hpp>
#include <sycl/group_algorithm.hpp>
#include <sycl/group_barrier.hpp>
#include <sycl/sub_group.hpp>

#endif // __SYCL_KHR_INCLUDES_GROUPS
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/half.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_HALF
#define __SYCL_KHR_INCLUDES_HALF

#include "version.hpp"

#include <sycl/half_type.hpp>

#endif // __SYCL_KHR_INCLUDES_HALF
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/handler.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_HANDLER
#define __SYCL_KHR_INCLUDES_HANDLER

#include "version.hpp"

#include <sycl/handler.hpp>

#endif // __SYCL_KHR_INCLUDES_HANDLER
17 changes: 17 additions & 0 deletions sycl/include/sycl/khr/includes/hierarchical_parallelism.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM
#define __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM

#include "version.hpp"

#include <sycl/group.hpp>
#include <sycl/h_item.hpp>

#endif // __SYCL_KHR_INCLUDES_HIERARCHICAL_PARALLELISM
18 changes: 18 additions & 0 deletions sycl/include/sycl/khr/includes/images.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//==------------------ image --- SYCL images ------------------*- 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_IMAGE
#define __SYCL_KHR_INCLUDES_IMAGE

#include "version.hpp"

#include <sycl/accessor_image.hpp>
#include <sycl/image.hpp>
#include <sycl/properties/image_properties.hpp>

#endif // __SYCL_KHR_INCLUDES_IMAGE
20 changes: 20 additions & 0 deletions sycl/include/sycl/khr/includes/index_space.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_INDEX_SPACE
#define __SYCL_KHR_INCLUDES_INDEX_SPACE

#include "version.hpp"

#include <sycl/id.hpp>
#include <sycl/item.hpp>
#include <sycl/nd_item.hpp>
#include <sycl/nd_range.hpp>
#include <sycl/range.hpp>

#endif // __SYCL_KHR_INCLUDES_INDEX_SPACE
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/interop_handle.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_INTEROP_HANDLE
#define __SYCL_KHR_INCLUDES_INTEROP_HANDLE

#include "version.hpp"

#include <sycl/interop_handle.hpp>

#endif // __SYCL_KHR_INCLUDES_INTEROP_HANDLE
18 changes: 18 additions & 0 deletions sycl/include/sycl/khr/includes/kernel_bundle.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_KERNEL_BUNDLE
#define __SYCL_KHR_INCLUDES_KERNEL_BUNDLE

#include "version.hpp"

#include <sycl/kernel.hpp>
#include <sycl/kernel_bundle.hpp>
#include <sycl/specialization_id.hpp>

#endif // __SYCL_KHR_INCLUDES_KERNEL_BUNDLE
16 changes: 16 additions & 0 deletions sycl/include/sycl/khr/includes/kernel_handler.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef __SYCL_KHR_INCLUDES_KERNEL_HANDLER
#define __SYCL_KHR_INCLUDES_KERNEL_HANDLER

#include "version.hpp"

#include <sycl/kernel_handler.hpp>

#endif // __SYCL_KHR_INCLUDES_KERNEL_HANDLER
Loading
Loading