(
n_samples_per_batch: int,
n_features: int,
n_batches: int,
subsample: bool,
use_cupy: bool,
on_host: bool,
)
| 38 | ) |
| 39 | @settings(deadline=None, max_examples=16, print_blob=True) |
| 40 | def test_gpu_data_iterator( |
| 41 | n_samples_per_batch: int, |
| 42 | n_features: int, |
| 43 | n_batches: int, |
| 44 | subsample: bool, |
| 45 | use_cupy: bool, |
| 46 | on_host: bool, |
| 47 | ) -> None: |
| 48 | run_data_iterator( |
| 49 | n_samples_per_batch, |
| 50 | n_features, |
| 51 | n_batches, |
| 52 | "hist", |
| 53 | subsample=subsample, |
| 54 | device="cuda", |
| 55 | use_cupy=use_cupy, |
| 56 | on_host=on_host, |
| 57 | ) |
| 58 | |
| 59 | |
| 60 | def test_cpu_data_iterator() -> None: |
nothing calls this directly
no test coverage detected