DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::ods_target Struct Reference

#include <sycl/detail/device_filter.hpp>

Collaboration diagram for sycl::_V1::detail::ods_target:

Public Member Functions

 ods_target (backend be)
 
 ods_target ()
 

Public Attributes

std::optional< backendBackend
 
std::optional< info::device_typeDeviceType
 
bool HasDeviceWildCard = false
 
std::optional< int > DeviceNum
 
bool HasSubDeviceWildCard = false
 
std::optional< unsigned > SubDeviceNum
 
bool HasSubSubDeviceWildCard = false
 
std::optional< unsigned > SubSubDeviceNum
 
bool IsNegativeTarget = false
 
int MatchesSeen = 0
 

Friends

std::ostream & operator<< (std::ostream &Out, const ods_target &Target)
 

Detailed Description

Definition at line 34 of file device_filter.hpp.

Constructor & Destructor Documentation

◆ ods_target() [1/2]

sycl::_V1::detail::ods_target::ods_target ( backend  be)
inline

Definition at line 53 of file device_filter.hpp.

References Backend.

◆ ods_target() [2/2]

sycl::_V1::detail::ods_target::ods_target ( )
inline

Definition at line 54 of file device_filter.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  Out,
const ods_target Target 
)
friend

Definition at line 261 of file device_filter.cpp.

Member Data Documentation

◆ Backend

std::optional<backend> sycl::_V1::detail::ods_target::Backend

Definition at line 36 of file device_filter.hpp.

Referenced by ods_target().

◆ DeviceNum

std::optional<int> sycl::_V1::detail::ods_target::DeviceNum

Definition at line 40 of file device_filter.hpp.

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

◆ DeviceType

std::optional<info::device_type> sycl::_V1::detail::ods_target::DeviceType

Definition at line 37 of file device_filter.hpp.

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

◆ HasDeviceWildCard

bool sycl::_V1::detail::ods_target::HasDeviceWildCard = false

Definition at line 39 of file device_filter.hpp.

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

◆ HasSubDeviceWildCard

bool sycl::_V1::detail::ods_target::HasSubDeviceWildCard = false

Definition at line 42 of file device_filter.hpp.

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

◆ HasSubSubDeviceWildCard

bool sycl::_V1::detail::ods_target::HasSubSubDeviceWildCard = false

Definition at line 45 of file device_filter.hpp.

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

◆ IsNegativeTarget

bool sycl::_V1::detail::ods_target::IsNegativeTarget = false

Definition at line 48 of file device_filter.hpp.

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

◆ MatchesSeen

int sycl::_V1::detail::ods_target::MatchesSeen = 0

Definition at line 51 of file device_filter.hpp.

◆ SubDeviceNum

std::optional<unsigned> sycl::_V1::detail::ods_target::SubDeviceNum

Definition at line 43 of file device_filter.hpp.

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

◆ SubSubDeviceNum

std::optional<unsigned> sycl::_V1::detail::ods_target::SubSubDeviceNum

Definition at line 46 of file device_filter.hpp.

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


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