syclreference.com
  1. SYCL
  2. | API Reference
  3. | device
  4. | has_type_flag

has_type_flag

MISSING


bool has_type_flag(info::device_type type_flag) const
(1)
  1. Determine whether the device features a given device type flag.
    Parameters:
    • info::device_type type_flag : The device type flag to check for this device.
    Returns: true if the device features the flag, false otherwise.

syclreference.com — SYCL Reference Pages

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