()
| 466 | |
| 467 | #[test] |
| 468 | fn get_inference_device_force_cpu() { |
| 469 | let dev = get_inference_device(true, 0).unwrap(); |
| 470 | assert!(dev.is_cpu(), "force_cpu=true should return CPU"); |
| 471 | } |
| 472 | |
| 473 | #[test] |
| 474 | fn get_inference_device_force_cpu_any_ordinal() { |
nothing calls this directly
no test coverage detected