#include <sycl/detail/defines_elementary.hpp>
#include <sycl/detail/export.hpp>
#include <functional>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Classes | |
class | sycl::_V1::accelerator_selector |
The default selector chooses the first available SYCL device. More... | |
Namespaces | |
sycl | |
sycl::_V1 | |
sycl::_V1::ext | |
sycl::_V1::ext::oneapi | |
sycl::_V1::detail | |
Typedefs | |
using | sycl::_V1::detail::DSelectorInvocableType = std::function< int(const sycl::device &)> |
template<typename DeviceSelector > | |
using | sycl::_V1::detail::EnableIfSYCL2020DeviceSelectorInvocable = std::enable_if_t< std::is_invocable_r_v< int, DeviceSelector &, const device & > &&!std::is_base_of_v< ext::oneapi::filter_selector, DeviceSelector > &&!std::is_base_of_v< device_selector, DeviceSelector > > |
Functions | |
class | sycl::_V1::__SYCL2020_DEPRECATED ("Use SYCL 2020 callable device selectors instead.") device_selector |
The SYCL 1.2.1 device_selector class provides ability to choose the best SYCL device based on heuristics specified by the user. More... | |
int | sycl::_V1::default_selector_v (const device &dev) |
int | sycl::_V1::gpu_selector_v (const device &dev) |
int | sycl::_V1::cpu_selector_v (const device &dev) |
int | sycl::_V1::accelerator_selector_v (const device &dev) |
template<typename LastT > | |
void | sycl::_V1::detail::fill_aspect_vector (std::vector< aspect > &V, LastT L) |
template<typename FirstT , typename... OtherTs> | |
void | sycl::_V1::detail::fill_aspect_vector (std::vector< aspect > &V, FirstT F, OtherTs... O) |
device | sycl::_V1::detail::select_device (const DSelectorInvocableType &DeviceSelectorInvocable) |
device | sycl::_V1::detail::select_device (const DSelectorInvocableType &DeviceSelectorInvocable, const context &SyclContext) |
detail::DSelectorInvocableType | sycl::_V1::aspect_selector (const std::vector< aspect > &RequireList, const std::vector< aspect > &DenyList={}) |
template<typename... AspectListT> | |
detail::DSelectorInvocableType | sycl::_V1::aspect_selector (AspectListT... AspectList) |
template<aspect... AspectList> | |
detail::DSelectorInvocableType | sycl::_V1::aspect_selector () |
Variables | |
static constexpr int | sycl::_V1::detail::REJECT_DEVICE_SCORE = -1 |