def get_blas_kind(dtype, func_name="<BLAS function>"):
    kind = _blas_kinds.get(dtype)
    if kind is None:
        raise TypeError("unsupported dtype for %s()" % (func_name,))
    return kind
dataset/ETHPy150Open numba/numba/numba/targets/linalg.py/get_blas_kind/original