File DeviceSelector.hpp

namespace Acts::Sycl
struct DeviceSelector : public device_selector
#include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v16.0.0/Plugins/Sycl/include/Acts/Plugins/Sycl/Utilities/DeviceSelector.hpp>

Custom device selector that refuses to select NVIDIA OpenCL backends.

It is also possible to the tell the selector explicitly which device we want to use by providing a substring of the preferred device’s name.

Public Functions

DeviceSelector(const std::string &deviceName = "")
int operator()(const cl::sycl::device &d) const

Private Members

cl::sycl::default_selector m_defaultSelector

Fallback device selector.

std::string m_deviceName

Substring of the preferred device’s name.