Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/accessor.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/accessor.hh" // IWYU pragma: keep
6 changes: 6 additions & 0 deletions include/sycl/khr/includes/atomic.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/atomic_fence.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/atomic_ref.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/backend.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/backend.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/bit.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include <bit> // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/buffer.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/buffer.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/byte.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/forward.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/context.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/context.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/device.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/device.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/event.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/event.hh" // IWYU pragma: keep
6 changes: 6 additions & 0 deletions include/sycl/khr/includes/exception.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/async_handler.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/exception.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/functional.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/binary_ops.hh" // IWYU pragma: keep
8 changes: 8 additions & 0 deletions include/sycl/khr/includes/groups.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/group.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/group_algorithms.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/group_functions.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/sub_group.hh" // IWYU pragma: keep
11 changes: 11 additions & 0 deletions include/sycl/khr/includes/half.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include <simsycl/config.hh>
#if !SIMSYCL_FEATURE_HALF_TYPE
#error "Half type is not supported, but half.hpp is included."
#endif

// if SIMSYCL_FEATURE_HALF_TYPE is set, forward.hh declares sycl::half
#include "../../../simsycl/sycl/forward.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/handler.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/handler.hh" // IWYU pragma: keep
6 changes: 6 additions & 0 deletions include/sycl/khr/includes/hierarchical_parallelism.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/h_item.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/private_memory.hh" // IWYU pragma: keep
6 changes: 6 additions & 0 deletions include/sycl/khr/includes/images.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/image.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/image_accessor.hh" // IWYU pragma: keep
9 changes: 9 additions & 0 deletions include/sycl/khr/includes/index_space.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/id.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/item.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/nd_item.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/nd_range.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/range.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/interop_handle.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/interop_handle.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/kernel_bundle.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/kernel.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/marray.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/marray.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/math.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/math.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/multi_ptr.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/multi_ptr.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/platform.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/platform.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/property_list.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/property.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/queue.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/queue.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/reduction.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/reduction.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/span.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include <span> // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/stream.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/stream.hh" // IWYU pragma: keep
7 changes: 7 additions & 0 deletions include/sycl/khr/includes/submit.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/event.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/handler.hh" // IWYU pragma: keep
#include "../../../simsycl/sycl/queue.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/type_traits.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/type_traits.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/usm.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/usm.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/vec.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "version.hpp" // IWYU pragma: keep

#include "../../../simsycl/sycl/vec.hh" // IWYU pragma: keep
5 changes: 5 additions & 0 deletions include/sycl/khr/includes/version.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#define SYCL_KHR_INCLUDES 1

#include "../../../simsycl/macros.hh" // IWYU pragma: keep
Loading