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

has_property

Returns whether this SYCL buffer was constructed with the property specified by propertyT


template <typename propertyT>
bool has_property() const
(1)
  1. Returns whether this SYCL buffer was constructed with the property specified by propertyT
    Returns: True if buffer constructed with the property

syclreference.com — SYCL Reference Pages

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