DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::ext::intel::platform_selector Class Reference

#include <sycl/ext/intel/fpga_device_selector.hpp>

Inheritance diagram for cl::sycl::ext::intel::platform_selector:
Collaboration diagram for cl::sycl::ext::intel::platform_selector:

Public Member Functions

 platform_selector (const std::string &platform_name)
 
int operator() (const device &device) 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

Definition at line 25 of file fpga_device_selector.hpp.

Constructor & Destructor Documentation

◆ platform_selector()

cl::sycl::ext::intel::platform_selector::platform_selector ( const std::string &  platform_name)
inline

Definition at line 30 of file fpga_device_selector.hpp.

Member Function Documentation

◆ operator()()

int cl::sycl::ext::intel::platform_selector::operator() ( const device device) const
inlineoverridevirtual

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