13 #if defined(ALPAKA_ACC_SYCL_ENABLED) && defined(ALPAKA_SYCL_ONEAPI_GPU)
15 # include <sycl/sycl.hpp>
21 struct IntelGpuSelector
23 auto operator()(sycl::device
const& dev)
const ->
int
25 auto const& vendor = dev.get_info<sycl::info::device::vendor>();
26 auto const is_intel_gpu = dev.is_gpu() && (vendor.find(
"Intel(R) Corporation") != std::string::npos);
28 return is_intel_gpu ? 1 : -1;
34 using PlatformGpuSyclIntel = PlatformGenericSycl<detail::IntelGpuSelector>;
41 struct DevType<PlatformGpuSyclIntel>
43 using type = DevGenericSycl<PlatformGpuSyclIntel>;
The alpaka accelerator library.