Closed fknorr closed 4 months ago
This will be fixed when https://github.com/oneapi-src/unified-runtime/pull/1565 is merged. We are working on this as a priority.
The ur changes have now been pulled in here: https://github.com/intel/llvm/pull/14030 Closing this issue.
Describe the bug
To split work in a multi-GPU setting, we need to find sets of equal / compatible GPUs on a system.
On a system with 4x Nvidia RTX 3090,
sycl::platform::get_platforms()
returns four distinct platforms that stringify tosycl::platform(vendor="NVIDIA Corporation", name="NVIDIA CUDA BACKEND")
, but compare unequal withoperator==
and do not produce the same hash. I would expect all devices to share a platform in this case.Comparing the
backend
for finding a set of equal GPUs is not enough either, since DPC++ produces the same backend enumerator at least for theIntel(R) OpenCL
andIntel(R) FPGA Emulation Platform for OpenCL(TM)
platforms which clearly do not originate from a multi-GPU situation.To reproduce
Environment
Additional context
No response