diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index 0f133413..21e168e8 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -16996,7 +16996,12 @@ a@ ---- template asT as() const ---- - a@ Bitwise reinterprets this SYCL [code]#vec# as a SYCL [code]#vec# of a different element type and number of elements specified by [code]#asT#. The new SYCL [code]#vec# type must have the same storage size in bytes as this SYCL [code]#vec#. + a@ Bitwise reinterprets this SYCL [code]#vec# as a SYCL [code]#vec# of a + different element type and number of elements specified by [code]#asT#. + The new SYCL [code]#vec# type must have the same storage size in bytes as + this SYCL [code]#vec#, and the size of the elements in the new SYCL + [code]#vec# ([code]#NumElements * sizeof(DataT)#) must be the same as the + size of the elements in this SYCL [code]#vec#. a@ [source]