DPC++ Runtime
Runtime libraries for oneAPI DPC++
allowlist.cpp File Reference
#include <detail/allowlist.hpp>
#include <detail/config.hpp>
#include <detail/device_impl.hpp>
#include <detail/device_info.hpp>
#include <detail/platform_info.hpp>
#include <sycl/backend.hpp>
#include <algorithm>
#include <regex>
Include dependency graph for allowlist.cpp:

Go to the source code of this file.

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::detail
 

Functions

AllowListParsedT sycl::_V1::detail::parseAllowList (const std::string &AllowListRaw)
 
bool sycl::_V1::detail::deviceIsAllowed (const DeviceDescT &DeviceDesc, const AllowListParsedT &AllowListParsed)
 
void sycl::_V1::detail::applyAllowList (std::vector< sycl::detail::pi::PiDevice > &PiDevices, sycl::detail::pi::PiPlatform PiPlatform, const PluginPtr &Plugin)
 

Variables

constexpr char sycl::_V1::detail::BackendNameKeyName [] = "BackendName"
 
constexpr char sycl::_V1::detail::DeviceTypeKeyName [] = "DeviceType"
 
constexpr char sycl::_V1::detail::DeviceVendorIdKeyName [] = "DeviceVendorId"
 
constexpr char sycl::_V1::detail::DriverVersionKeyName [] = "DriverVersion"
 
constexpr char sycl::_V1::detail::PlatformVersionKeyName [] = "PlatformVersion"
 
constexpr char sycl::_V1::detail::DeviceNameKeyName [] = "DeviceName"
 
constexpr char sycl::_V1::detail::PlatformNameKeyName [] = "PlatformName"
 
constexpr std::array< const char *, 7 > sycl::_V1::detail::SupportedAllowListKeyNames