⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpid_recv_init.c

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻 C
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#include "mpidimpl.h"/* * MPID_Recv_init() */#undef FUNCNAME#define FUNCNAME MPID_Recv_init#undef FCNAME#define FCNAME MPIDI_QUOTE(FUNCNAME)int MPID_Recv_init(void * buf, int count, MPI_Datatype datatype, int rank, int tag, MPID_Comm * comm, int context_offset,		   MPID_Request ** request){    MPID_Request * rreq;    int mpi_errno = MPI_SUCCESS;    MPIDI_STATE_DECL(MPID_STATE_MPID_RECV_INIT);    MPIDI_FUNC_ENTER(MPID_STATE_MPID_RECV_INIT);        rreq = MPIDI_CH3_Request_create();    if (rreq == NULL)    {	goto fn_exit;    }        MPIU_Object_set_ref(rreq, 1);    rreq->kind = MPID_PREQUEST_RECV;    rreq->comm = comm;    rreq->ch3.match.rank = rank;    rreq->ch3.match.tag = tag;    rreq->ch3.match.context_id = comm->context_id + context_offset;    rreq->ch3.user_buf = (void *) buf;    rreq->ch3.user_count = count;    rreq->ch3.datatype = datatype;    rreq->partner_request = NULL;    MPIDI_Request_set_type(rreq, MPIDI_REQUEST_TYPE_RECV);	    *request = rreq;  fn_exit:    MPIDI_FUNC_EXIT(MPID_STATE_MPID_RECV_INIT);    return mpi_errno;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -