import torch
from torchaudio_unittest import common_utils

from .autograd_impl import Autograd, AutogradFloat32


@common_utils.skipIfNoCuda
@common_utils.skipIfkmeMark
class TestAutogradLfilterCUDA(Autograd, common_utils.PytorchTestCase):
    dtype = torch.float64
    device = torch.device("cuda")


@common_utils.skipIfNoCuda
class TestAutogradRNNTCUDA(AutogradFloat32, common_utils.PytorchTestCase):
    dtype = torch.float32
    device = torch.device("cuda")
