syclreference.com
  1. SYCL
  2. | API Reference
  3. | Buffers
  4. | buffer
  5. | get_property

get_property

Returns a copy of the property of type propertyT that this SYCL buffer was constructed with. Throws an error if buffer was not constructed with the property.


template <typename propertyT>
propertyT get_property() const
(1)
  1. Returns a copy of the property of type propertyT that this SYCL buffer was constructed with. Throws an error if buffer was not constructed with the property.
    Returns: Copy of the property

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000