20 inline namespace _V1 {
27 std::ostream &
operator<<(std::ostream &os, std::optional<T>
const &opt) {
28 return opt ? os << opt.value() : os <<
"not set ";
59 std::vector<ods_target> TargetList;
64 std::vector<ods_target> &
get() {
return TargetList; }
bool backendCompatible(backend Backend)
std::vector< ods_target > & get()
std::ostream & operator<<(std::ostream &os, std::optional< T > const &opt)
std::vector< ods_target > Parse_ONEAPI_DEVICE_SELECTOR(const std::string &envStr)
std::optional< backend > Backend
std::optional< int > DeviceNum
std::optional< unsigned > SubDeviceNum
bool HasSubSubDeviceWildCard
std::optional< info::device_type > DeviceType
std::optional< unsigned > SubSubDeviceNum
friend std::ostream & operator<<(std::ostream &Out, const ods_target &Target)
bool HasSubDeviceWildCard