DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::host_selector Class Reference

Selects SYCL host device. More...

#include <CL/sycl/device_selector.hpp>

Inheritance diagram for cl::sycl::host_selector:
Collaboration diagram for cl::sycl::host_selector:

Public Member Functions

int operator() (const device &dev) const override
- Public Member Functions inherited from cl::sycl::device_selector
virtual ~device_selector ()=default
virtual device select_device () const

Additional Inherited Members

- Static Protected Attributes inherited from cl::sycl::device_selector
static constexpr int REJECT_DEVICE_SCORE = -1

Detailed Description

Selects SYCL host device.

See also

Definition at line 86 of file device_selector.hpp.

Member Function Documentation

◆ operator()()

int cl::sycl::host_selector::operator() ( const device dev) const

The documentation for this class was generated from the following files: