11 #if defined(ALPAKA_ACC_SYCL_ENABLED) && defined(ALPAKA_SYCL_ONEAPI_GPU)
13 # include <sycl/sycl.hpp>
20 struct SYCLDeviceSelector<TagGpuSyclIntel>
22 auto operator()(sycl::device
const& dev)
const ->
int
24 auto const& vendor = dev.get_info<sycl::info::device::vendor>();
25 auto const is_intel_gpu = dev.is_gpu() && (vendor.find(
"Intel(R) Corporation") != std::string::npos);
27 return is_intel_gpu ? 1 : -1;
33 using PlatformGpuSyclIntel = PlatformGenericSycl<TagGpuSyclIntel>;
The alpaka accelerator library.