DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::device_filter Struct Reference

#include <CL/sycl/detail/device_filter.hpp>

Collaboration diagram for cl::sycl::detail::device_filter:

Public Member Functions

 device_filter ()
 
 device_filter (const std::string &FilterString)
 

Public Attributes

backend Backend = backend::all
 
info::device_type DeviceType = info::device_type::all
 
int DeviceNum = 0
 
bool HasBackend = false
 
bool HasDeviceType = false
 
bool HasDeviceNum = false
 
int MatchesSeen = 0
 

Friends

std::ostream & operator<< (std::ostream &Out, const device_filter &Filter)
 

Detailed Description

Definition at line 22 of file device_filter.hpp.

Constructor & Destructor Documentation

◆ device_filter() [1/2]

cl::sycl::detail::device_filter::device_filter ( )
inline

Definition at line 31 of file device_filter.hpp.

◆ device_filter() [2/2]

cl::sycl::detail::device_filter::device_filter ( const std::string &  FilterString)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  Out,
const device_filter Filter 
)
friend

Definition at line 54 of file device_filter.hpp.

Member Data Documentation

◆ Backend

backend cl::sycl::detail::device_filter::Backend = backend::all

◆ DeviceNum

int cl::sycl::detail::device_filter::DeviceNum = 0

◆ DeviceType

info::device_type cl::sycl::detail::device_filter::DeviceType = info::device_type::all

◆ HasBackend

bool cl::sycl::detail::device_filter::HasBackend = false

Definition at line 26 of file device_filter.hpp.

Referenced by cl::sycl::ext::oneapi::detail::create_filter().

◆ HasDeviceNum

bool cl::sycl::detail::device_filter::HasDeviceNum = false

◆ HasDeviceType

bool cl::sycl::detail::device_filter::HasDeviceType = false

Definition at line 27 of file device_filter.hpp.

Referenced by cl::sycl::ext::oneapi::detail::create_filter().

◆ MatchesSeen

int cl::sycl::detail::device_filter::MatchesSeen = 0

Definition at line 29 of file device_filter.hpp.


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