#NEWLINE# def magma_cgesv_gpu( n , nhrs , A , lda , ipiv , B , ldb ) : #NEWLINE# #INDENT# '\n    Solve system of linear equations.\n    ' #NEWLINE# info = ctypes . c_int ( ) #NEWLINE# status = _libmagma . magma_cgesv_gpu ( n , nhrs , int ( A ) , lda , int ( ipiv ) , int ( B ) , ldb , ctypes . byref ( info ) ) #NEWLINE# magmaCheckStatus ( info )