()
return dev.value
Get current device used by MAGMA.
Get current device used by MAGMA.
Get current device used by MAGMA .
def magma_getdevice():
    """
    Get current device used by MAGMA.
    """

    dev = c_int_type()
    _libmagma.magma_getdevice(ctypes.byref(dev))
    return dev.value
def magma_getdevice ( ) : dev = c_int_type ( ) _libmagma . magma_getdevice ( ctypes . byref ( dev ) ) return dev . value