Commit c5373d8
committed
Do not permit "custom" or "automatic" in dpctl.SyclPlatform.get_devices
These device types act unexpectedly in DPC++ 2025.0.4, returning the same result as `sycl::info::device_type::all`, so use unknown device and return an empty list instead1 parent 9027acc commit c5373d8
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | 416 | | |
419 | 417 | | |
420 | | - | |
421 | | - | |
422 | 418 | | |
423 | 419 | | |
424 | 420 | | |
| |||
428 | 424 | | |
429 | 425 | | |
430 | 426 | | |
431 | | - | |
432 | | - | |
433 | 427 | | |
434 | 428 | | |
435 | | - | |
436 | | - | |
437 | 429 | | |
438 | 430 | | |
439 | 431 | | |
| |||
0 commit comments