File tree Expand file tree Collapse file tree
test-e2e/DeprecatedFeatures Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99#pragma once
1010
11- #include < sycl/detail/defines_elementary.hpp>
1211#include < sycl/detail/info_desc_traits.hpp>
1312#include < unified-runtime/ur_api.h>
1413
@@ -33,6 +32,7 @@ using context_runtime_traits =
3332 sycl::detail::rt_traits_base<sycl::detail::info_class::context>;
3433
3534#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
35+ #include < sycl/detail/defines_elementary.hpp>
3636struct __SYCL_DEPRECATED (" info::context::reference_count is not part of "
3737 " SYCL 2020" ) reference_count
3838 : context_traits<UR_CONTEXT_INFO_REFERENCE_COUNT > {
Original file line number Diff line number Diff line change 88
99#pragma once
1010
11- #include < sycl/detail/defines_elementary.hpp>
1211#include < sycl/detail/info_desc_traits.hpp>
1312#include < unified-runtime/ur_api.h>
1413
@@ -38,6 +37,7 @@ struct command_execution_status
3837 using return_type = info::event_command_status;
3938};
4039#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
40+ #include < sycl/detail/defines_elementary.hpp>
4141struct __SYCL_DEPRECATED (" info::event::reference_count is not part of "
4242 " SYCL 2020" ) reference_count
4343 : event_traits<UR_EVENT_INFO_REFERENCE_COUNT > {
Original file line number Diff line number Diff line change 88
99#pragma once
1010
11- #include < sycl/detail/defines_elementary.hpp>
1211#include < sycl/detail/info_desc_traits.hpp>
1312#include < sycl/range.hpp>
1413#include < unified-runtime/ur_api.h>
@@ -40,6 +39,7 @@ struct function_name : kernel_traits<UR_KERNEL_INFO_FUNCTION_NAME> {
4039 using return_type = std::string;
4140};
4241#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
42+ #include < sycl/detail/defines_elementary.hpp>
4343struct __SYCL_DEPRECATED (" info::kernel::reference_count is not part of "
4444 " SYCL 2020" ) reference_count
4545 : kernel_traits<UR_KERNEL_INFO_REFERENCE_COUNT > {
Original file line number Diff line number Diff line change 88
99#pragma once
1010
11- #include < sycl/detail/defines_elementary.hpp>
1211#include < sycl/detail/info_desc_traits.hpp>
1312#include < unified-runtime/ur_api.h>
1413
@@ -34,6 +33,7 @@ struct device : queue_traits<UR_QUEUE_INFO_DEVICE> {
3433 using return_type = sycl::device;
3534};
3635#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
36+ #include < sycl/detail/defines_elementary.hpp>
3737struct __SYCL_DEPRECATED (" info::queue::reference_count is not part of "
3838 " SYCL 2020" ) reference_count
3939 : queue_traits<UR_QUEUE_INFO_REFERENCE_COUNT > {
Original file line number Diff line number Diff line change 11// UNSUPPORTED: preview-mode
22// UNSUPPORTED-INTENDED: reference_count is unavailable in preview mode.
3- // RUN: %{build} -o %t.out
3+ // RUN: %{build} -fsyntax-only
44
55// ==---------- reference_count.cpp - Deprecated info test ------------------==//
66//
You can’t perform that action at this time.
0 commit comments