diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index 0730736d..4d502a54 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -11696,8 +11696,11 @@ a@ [source] ---- operator item() const + // Deprecated in SYCL 2020. ---- - a@ Available only when: [code]#WithOffset == false# + a@ Deprecated in SYCL 2020. + +Available only when: [code]#WithOffset == false# Returns an [code]#item# representing the same information as the object holds but also includes the offset set to 0. This conversion allow users to seamlessly diff --git a/adoc/headers/item.h b/adoc/headers/item.h index b3d1fe2a..611a1c43 100644 --- a/adoc/headers/item.h +++ b/adoc/headers/item.h @@ -24,6 +24,7 @@ template class item { // only available if WithOffset is true id get_offset() const; + // Deprecated in SYCL 2020. // only available if WithOffset is false operator item() const;