def METHOD_NAME(device):
    # make sure GPU is available and auto-select gives a GPU
    assert hoomd.device.GPU.is_available()
    assert type(hoomd.device.auto_select()) == hoomd.device.GPU
    # make sure we can still make a CPU
    hoomd.device.CPU()