syclreference.com
  1. SYCL
  2. | API Reference
  3. | Device Selectors
  4. | gpu_selector
  5. | operator()

operator()

MISSING


int operator()(const cl::sycl::device & device) const
(1)
  1. Overload that scores GPUs positive if they have SPIR support. Fails if a GPU cannot be found.
    Parameters:
    • const cl::sycl::device & device : The device that is to be scored.
    Returns: an integer representing the allocated score for the device.

syclreference.com — SYCL Reference Pages

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