Commit db0ffb45 authored by rusty1s's avatar rusty1s
Browse files

pragma no cover

parent df2ed804
......@@ -5,7 +5,7 @@ dtypes = get_all_dtypes()
dtypes.remove(torch.half)
devices = [torch.device('cpu')]
if torch.cuda.is_available():
if torch.cuda.is_available(): # pragma: no cover
devices += [torch.device('cuda:{}'.format(torch.cuda.current_device()))]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment