diff options
author | 2017-05-25 12:57:44 -0700 | |
---|---|---|
committer | 2017-05-25 13:02:10 -0700 | |
commit | 9c9337d544d94b89911c4c47afba1601fd0985cf (patch) | |
tree | 73f9c65da4e9d454d0e7e07f7837e1e7389df6b9 /WORKSPACE | |
parent | 8c67fe7e34bd3235f0b67325640cd553493b8591 (diff) |
Halve the number of CPU tests run in 9 files.
This pattern tests all tests twice (once for use_gpu=True, once for
use_gpu=False).
Switch to using a single test pattern that uses use_gpu=True,
which tests on GPU if a GPU is available, and tests on CPU otherwise.
the %test%_gpu target tests on GPU, the %test% target tests on CPU, so
both are covered.
The tricky situation is when you want to test locally on GPU, you have
to remember to run the _gpu target, but reducing test time is more
important than individual developers making mistakes at this point.
PiperOrigin-RevId: 157141876
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions