DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::ods_target_list Class Reference

#include <sycl/detail/device_filter.hpp>

Public Member Functions

 ods_target_list ()
 
 ods_target_list (const std::string &FilterString)
 
std::vector< ods_target > & get ()
 
bool containsHost ()
 
bool backendCompatible (backend Backend)
 

Detailed Description

Definition at line 55 of file device_filter.hpp.

Constructor & Destructor Documentation

◆ ods_target_list() [1/2]

sycl::_V1::detail::ods_target_list::ods_target_list ( )
inline

Definition at line 59 of file device_filter.hpp.

◆ ods_target_list() [2/2]

sycl::_V1::detail::ods_target_list::ods_target_list ( const std::string &  FilterString)

Member Function Documentation

◆ backendCompatible()

bool sycl::_V1::detail::ods_target_list::backendCompatible ( backend  Backend)

Definition at line 269 of file device_filter.cpp.

References any_of().

Referenced by sycl::_V1::detail::pi::findPlugins(), and sycl::_V1::device::get_devices().

◆ containsHost()

bool sycl::_V1::detail::ods_target_list::containsHost ( )

◆ get()

std::vector<ods_target>& sycl::_V1::detail::ods_target_list::get ( )
inline

Definition at line 61 of file device_filter.hpp.

Referenced by sycl::_V1::detail::amendDeviceAndSubDevices().


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