diff --git a/include/sycl/khr/includes/accessor.hpp b/include/sycl/khr/includes/accessor.hpp new file mode 100644 index 0000000..871909d --- /dev/null +++ b/include/sycl/khr/includes/accessor.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/accessor.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/atomic.hpp b/include/sycl/khr/includes/atomic.hpp new file mode 100644 index 0000000..e45aff3 --- /dev/null +++ b/include/sycl/khr/includes/atomic.hpp @@ -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 diff --git a/include/sycl/khr/includes/backend.hpp b/include/sycl/khr/includes/backend.hpp new file mode 100644 index 0000000..8408d6d --- /dev/null +++ b/include/sycl/khr/includes/backend.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/backend.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/bit.hpp b/include/sycl/khr/includes/bit.hpp new file mode 100644 index 0000000..c30f170 --- /dev/null +++ b/include/sycl/khr/includes/bit.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include // IWYU pragma: keep diff --git a/include/sycl/khr/includes/buffer.hpp b/include/sycl/khr/includes/buffer.hpp new file mode 100644 index 0000000..89d6b4b --- /dev/null +++ b/include/sycl/khr/includes/buffer.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/buffer.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/byte.hpp b/include/sycl/khr/includes/byte.hpp new file mode 100644 index 0000000..e98b730 --- /dev/null +++ b/include/sycl/khr/includes/byte.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/forward.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/context.hpp b/include/sycl/khr/includes/context.hpp new file mode 100644 index 0000000..3c127b4 --- /dev/null +++ b/include/sycl/khr/includes/context.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/context.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/device.hpp b/include/sycl/khr/includes/device.hpp new file mode 100644 index 0000000..ba067aa --- /dev/null +++ b/include/sycl/khr/includes/device.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/device.hh" // IWYU pragma: keep \ No newline at end of file diff --git a/include/sycl/khr/includes/event.hpp b/include/sycl/khr/includes/event.hpp new file mode 100644 index 0000000..e3059ca --- /dev/null +++ b/include/sycl/khr/includes/event.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/event.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/exception.hpp b/include/sycl/khr/includes/exception.hpp new file mode 100644 index 0000000..ef925c8 --- /dev/null +++ b/include/sycl/khr/includes/exception.hpp @@ -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 diff --git a/include/sycl/khr/includes/functional.hpp b/include/sycl/khr/includes/functional.hpp new file mode 100644 index 0000000..ae48afe --- /dev/null +++ b/include/sycl/khr/includes/functional.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/binary_ops.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/groups.hpp b/include/sycl/khr/includes/groups.hpp new file mode 100644 index 0000000..9a95000 --- /dev/null +++ b/include/sycl/khr/includes/groups.hpp @@ -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 diff --git a/include/sycl/khr/includes/half.hpp b/include/sycl/khr/includes/half.hpp new file mode 100644 index 0000000..9f34b1a --- /dev/null +++ b/include/sycl/khr/includes/half.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include +#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 diff --git a/include/sycl/khr/includes/handler.hpp b/include/sycl/khr/includes/handler.hpp new file mode 100644 index 0000000..133e3fc --- /dev/null +++ b/include/sycl/khr/includes/handler.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/handler.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/hierarchical_parallelism.hpp b/include/sycl/khr/includes/hierarchical_parallelism.hpp new file mode 100644 index 0000000..fb78aa6 --- /dev/null +++ b/include/sycl/khr/includes/hierarchical_parallelism.hpp @@ -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 diff --git a/include/sycl/khr/includes/images.hpp b/include/sycl/khr/includes/images.hpp new file mode 100644 index 0000000..de846f0 --- /dev/null +++ b/include/sycl/khr/includes/images.hpp @@ -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 diff --git a/include/sycl/khr/includes/index_space.hpp b/include/sycl/khr/includes/index_space.hpp new file mode 100644 index 0000000..024fcae --- /dev/null +++ b/include/sycl/khr/includes/index_space.hpp @@ -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 diff --git a/include/sycl/khr/includes/interop_handle.hpp b/include/sycl/khr/includes/interop_handle.hpp new file mode 100644 index 0000000..4401534 --- /dev/null +++ b/include/sycl/khr/includes/interop_handle.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/interop_handle.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/kernel_bundle.hpp b/include/sycl/khr/includes/kernel_bundle.hpp new file mode 100644 index 0000000..e4732ac --- /dev/null +++ b/include/sycl/khr/includes/kernel_bundle.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/kernel.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/marray.hpp b/include/sycl/khr/includes/marray.hpp new file mode 100644 index 0000000..3fb15e3 --- /dev/null +++ b/include/sycl/khr/includes/marray.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/marray.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/math.hpp b/include/sycl/khr/includes/math.hpp new file mode 100644 index 0000000..c34395a --- /dev/null +++ b/include/sycl/khr/includes/math.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/math.hh" // IWYU pragma: keep \ No newline at end of file diff --git a/include/sycl/khr/includes/multi_ptr.hpp b/include/sycl/khr/includes/multi_ptr.hpp new file mode 100644 index 0000000..ae8a485 --- /dev/null +++ b/include/sycl/khr/includes/multi_ptr.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/multi_ptr.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/platform.hpp b/include/sycl/khr/includes/platform.hpp new file mode 100644 index 0000000..45f79e3 --- /dev/null +++ b/include/sycl/khr/includes/platform.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/platform.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/property_list.hpp b/include/sycl/khr/includes/property_list.hpp new file mode 100644 index 0000000..b949787 --- /dev/null +++ b/include/sycl/khr/includes/property_list.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/property.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/queue.hpp b/include/sycl/khr/includes/queue.hpp new file mode 100644 index 0000000..8fb45f8 --- /dev/null +++ b/include/sycl/khr/includes/queue.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/queue.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/reduction.hpp b/include/sycl/khr/includes/reduction.hpp new file mode 100644 index 0000000..9785e1f --- /dev/null +++ b/include/sycl/khr/includes/reduction.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/reduction.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/span.hpp b/include/sycl/khr/includes/span.hpp new file mode 100644 index 0000000..06523a6 --- /dev/null +++ b/include/sycl/khr/includes/span.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include // IWYU pragma: keep diff --git a/include/sycl/khr/includes/stream.hpp b/include/sycl/khr/includes/stream.hpp new file mode 100644 index 0000000..ab67f94 --- /dev/null +++ b/include/sycl/khr/includes/stream.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/stream.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/submit.hpp b/include/sycl/khr/includes/submit.hpp new file mode 100644 index 0000000..dcbaf42 --- /dev/null +++ b/include/sycl/khr/includes/submit.hpp @@ -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 diff --git a/include/sycl/khr/includes/type_traits.hpp b/include/sycl/khr/includes/type_traits.hpp new file mode 100644 index 0000000..09b368f --- /dev/null +++ b/include/sycl/khr/includes/type_traits.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/type_traits.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/usm.hpp b/include/sycl/khr/includes/usm.hpp new file mode 100644 index 0000000..8e70b94 --- /dev/null +++ b/include/sycl/khr/includes/usm.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/usm.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/vec.hpp b/include/sycl/khr/includes/vec.hpp new file mode 100644 index 0000000..3466cdc --- /dev/null +++ b/include/sycl/khr/includes/vec.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "version.hpp" // IWYU pragma: keep + +#include "../../../simsycl/sycl/vec.hh" // IWYU pragma: keep diff --git a/include/sycl/khr/includes/version.hpp b/include/sycl/khr/includes/version.hpp new file mode 100644 index 0000000..ee92c0a --- /dev/null +++ b/include/sycl/khr/includes/version.hpp @@ -0,0 +1,5 @@ +#pragma once + +#define SYCL_KHR_INCLUDES 1 + +#include "../../../simsycl/macros.hh" // IWYU pragma: keep