DPC++ Runtime
Runtime libraries for oneAPI DPC++
platform_impl.cpp File Reference
#include <detail/allowlist.hpp>
#include <detail/config.hpp>
#include <detail/device_impl.hpp>
#include <detail/global_handler.hpp>
#include <detail/platform_impl.hpp>
#include <detail/platform_info.hpp>
#include <sycl/detail/iostream_proxy.hpp>
#include <sycl/detail/util.hpp>
#include <sycl/device.hpp>
#include <algorithm>
#include <cstring>
#include <mutex>
#include <string>
#include <vector>
#include <sycl/info/platform_traits.def>
Include dependency graph for platform_impl.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)    template ReturnT platform_impl::get_info<info::platform::Desc>() const;
 

Functions

static bool sycl::_V1::detail::IsBannedPlatform (platform Platform)
 
template<typename ListT , typename FilterT >
static std::vector< int > sycl::_V1::detail::filterDeviceFilter (std::vector< RT::PiDevice > &PiDevices, RT::PiPlatform Platform, ListT *FilterList)
 
static bool sycl::_V1::detail::supportsAffinityDomain (const device &dev, info::partition_property partitionProp, info::partition_affinity_domain domain)
 
static bool sycl::_V1::detail::supportsPartitionProperty (const device &dev, info::partition_property partitionProp)
 
static std::vector< device > sycl::_V1::detail::amendDeviceAndSubDevices (backend PlatformBackend, std::vector< device > &DeviceList, ods_target_list *OdsTargetList, const std::vector< int > &original_indices, PlatformImplPtr PlatformImpl)
 

Macro Definition Documentation

◆ __SYCL_PARAM_TRAITS_SPEC

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)     template ReturnT platform_impl::get_info<info::platform::Desc>() const;

Definition at line 593 of file platform_impl.cpp.