Make sure CPU algorithm can handle GPU inputs
()
| 58 | |
| 59 | |
| 60 | def test_cpu_data_iterator() -> None: |
| 61 | """Make sure CPU algorithm can handle GPU inputs""" |
| 62 | run_data_iterator( |
| 63 | 1024, |
| 64 | 2, |
| 65 | 3, |
| 66 | "approx", |
| 67 | device="cuda", |
| 68 | subsample=False, |
| 69 | use_cupy=True, |
| 70 | on_host=False, |
| 71 | ) |
| 72 | |
| 73 | |
| 74 | @given( |
nothing calls this directly
no test coverage detected