public static String stringFor(int n)
    {
        switch (n)
        {
            case CUSPARSE_STATUS_SUCCESS: return "CUSPARSE_STATUS_SUCCESS";
            case CUSPARSE_STATUS_NOT_INITIALIZED: return "CUSPARSE_STATUS_NOT_INITIALIZED";
            case CUSPARSE_STATUS_ALLOC_FAILED: return "CUSPARSE_STATUS_ALLOC_FAILED";
            case CUSPARSE_STATUS_INVALID_VALUE: return "CUSPARSE_STATUS_INVALID_VALUE";
            case CUSPARSE_STATUS_ARCH_MISMATCH: return "CUSPARSE_STATUS_ARCH_MISMATCH";
            case CUSPARSE_STATUS_MAPPING_ERROR: return "CUSPARSE_STATUS_MAPPING_ERROR";
            case CUSPARSE_STATUS_EXECUTION_FAILED: return "CUSPARSE_STATUS_EXECUTION_FAILED";
            case CUSPARSE_STATUS_INTERNAL_ERROR: return "CUSPARSE_STATUS_INTERNAL_ERROR";
            case CUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED: return "CUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED";
            case CUSPARSE_STATUS_ZERO_PIVOT: return "CUSPARSE_STATUS_ZERO_PIVOT";
            case JCUSPARSE_STATUS_INTERNAL_ERROR: return "JCUSPARSE_STATUS_INTERNAL_ERROR";
        }
        return "INVALID cusparseStatus: "+n;
    }
public static String stringFor ( int n ) { switch ( n ) { case CUSPARSE_STATUS_SUCCESS : return "CUSPARSE_STATUS_SUCCESS" ; case CUSPARSE_STATUS_NOT_INITIALIZED : return "CUSPARSE_STATUS_NOT_INITIALIZED" ; case CUSPARSE_STATUS_ALLOC_FAILED : return "CUSPARSE_STATUS_ALLOC_FAILED" ; case CUSPARSE_STATUS_INVALID_VALUE : return "CUSPARSE_STATUS_INVALID_VALUE" ; case CUSPARSE_STATUS_ARCH_MISMATCH : return "CUSPARSE_STATUS_ARCH_MISMATCH" ; case CUSPARSE_STATUS_MAPPING_ERROR : return "CUSPARSE_STATUS_MAPPING_ERROR" ; case CUSPARSE_STATUS_EXECUTION_FAILED : return "CUSPARSE_STATUS_EXECUTION_FAILED" ; case CUSPARSE_STATUS_INTERNAL_ERROR : return "CUSPARSE_STATUS_INTERNAL_ERROR" ; case CUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED : return "CUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED" ; case CUSPARSE_STATUS_ZERO_PIVOT : return "CUSPARSE_STATUS_ZERO_PIVOT" ; case JCUSPARSE_STATUS_INTERNAL_ERROR : return "JCUSPARSE_STATUS_INTERNAL_ERROR" ; } return "INVALID cusparseStatus: " + n ; }
Returns a string representation of the given constant

@return A string representation of the given constant