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

Selects any SYCL CPU device. More...

#include <CL/sycl/device_selector.hpp>

Inheritance diagram for cl::sycl::cpu_selector:
Collaboration diagram for cl::sycl::cpu_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 any SYCL CPU device.

See also
device

Definition at line 66 of file device_selector.hpp.

Member Function Documentation

◆ operator()()

int cl::sycl::cpu_selector::operator() ( const device dev) const
overridevirtual

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