Skip to content

missing cuda test cases #4772

@wyli

Description

@wyli

Describe the bug

Python 3.8.0 (default, Nov  6 2019, 21:49:08) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tests.utils import TEST_NDARRAYS
>>> print(TEST_NDARRAYS)
(<built-in function array>, <built-in method as_tensor of type object at 0x7f53e1f3b9c0>, functools.partial(<class 'monai.data.meta_tensor.MetaTensor'>, meta={'a': 'b', 'affine': tensor([[2., 0., 0., 0.],
        [0., 2., 0., 0.],
        [0., 0., 2., 0.],
        [0., 0., 0., 1.]])}))
>>> import torch
>>> print(torch.cuda.is_available())
True
>>> 

TEST_NDARRAYS should include the cuda-base test cases when cuda is available.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions