DPC++ Runtime
Runtime libraries for oneAPI DPC++
allowlist.hpp File Reference
#include <detail/plugin.hpp>
#include <sycl/detail/defines_elementary.hpp>
#include <sycl/detail/pi.hpp>
#include <map>
#include <vector>
Include dependency graph for allowlist.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 ---— Error handling, matching OpenCL plugin semantics.


using sycl::_V1::detail::DeviceDescT = std::map< std::string, std::string >
using sycl::_V1::detail::AllowListParsedT = std::vector< DeviceDescT >


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< RT::PiDevice > &PiDevices, RT::PiPlatform PiPlatform, const PluginPtr &Plugin)