AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

BUG: Test fail with one GPU because of multi-device #85

Closed carterbox closed 4 years ago

carterbox commented 4 years ago

Purpose

Squash a bug where the tests fail due to there not being enough GPUs because the tests always test the multi-gpu code path (maybe that's fine?).

Approach

The Pool class now limits the number of workers to the number of available GPUs and emits a warning.

Pre-Merge Checklists

Submitter

Reviewer