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.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::detail
 

Typedefs

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

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