Device selectors enable DPC++ runtime to choose the best devices based on heuristics specified by the user, or by one of the built-in selectors. More...
Classes | |
class | sycl::_V1::accelerator_selector |
The default selector chooses the first available SYCL device. More... | |
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... | |
class __SYCL2020_DEPRECATED("Host device is no longer supported.") host_selector int | sycl::_V1::default_selector_v (const device &dev) |
Selects SYCL host device. More... | |
Device selectors enable DPC++ runtime to choose the best devices based on heuristics specified by the user, or by one of the built-in selectors.
class sycl::_V1::__SYCL2020_DEPRECATED | ( | "Use SYCL 2020 callable device selectors instead." | ) |
The SYCL 1.2.1 device_selector class provides ability to choose the best SYCL device based on heuristics specified by the user.
Definition at line 1 of file device_selector.hpp.
int sycl::_V1::default_selector_v | ( | const device & | dev | ) |
Selects SYCL host device.
Definition at line 178 of file device_selector.cpp.
Referenced by sycl::_V1::detail::context_impl::get_backend_info< info::device::version >(), sycl::_V1::detail::kernel_impl::get_backend_info< info::device::version >(), sycl::_V1::ext::oneapi::detail::filter_selector_impl::operator()(), and sycl::_V1::detail::platform_impl::get_backend_info< info::device::version >().