def magma_init():

    global _uplo_conversion
    status = _libmagma.magma_init()
    magmaCheckStatus(status)
    v = magma_version()
    if v >= (1, 5, 0):
        _uplo_conversion.update({"L": _libmagma.magma_uplo_const(b"L"),
                                 "l": _libmagma.magma_uplo_const(b"l"),
                                 "U": _libmagma.magma_uplo_const(b"U"),
                                 "u": _libmagma.magma_uplo_const(b"u")})
    else:
       _uplo_conversion.update({"L": "L", "l": "l", "U": "u", "u": "u"})
Initialize MAGMA.
dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/magma.py/magma_init