Skip to content

Commit 193049d

Browse files
author
Alexander Batashev
committed
Update warnings
1 parent f1224e5 commit 193049d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

sycl/include/CL/sycl/kernel.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class __SYCL_EXPORT kernel {
5757
///
5858
/// \param ClKernel is a valid OpenCL cl_kernel instance
5959
/// \param SyclContext is a valid SYCL context
60-
__SYCL2020_DEPRECATED("OpenCL interop APIs are deprecated")
6160
kernel(cl_kernel ClKernel, const context &SyclContext);
6261

6362
kernel(const kernel &RHS) = default;
@@ -79,7 +78,6 @@ class __SYCL_EXPORT kernel {
7978
/// an invalid_object_error exception will be thrown.
8079
///
8180
/// \return a valid cl_kernel instance
82-
__SYCL2020_DEPRECATED("OpenCL interop APIs are deprecated")
8381
cl_kernel get() const;
8482

8583
/// Check if the associated SYCL context is a SYCL host context.

sycl/include/CL/sycl/program.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ enum class program_state { none = 0, compiled = 1, linked = 2 };
3636
/// \sa queue
3737
///
3838
/// \ingroup sycl_api
39-
class __SYCL2020_DEPRECATED("program class is deprecated")
40-
__SYCL_EXPORT program {
39+
class __SYCL_EXPORT program {
4140
public:
4241
program() = delete;
4342

0 commit comments

Comments
 (0)