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

📄 ad_done_fake.c

📁 mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环境
💻 C
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//*  * *   Copyright (C) 2004 University of Chicago.  *   See COPYRIGHT notice in top-level directory. */#include "adio.h"/* Generic implementation of ReadDone/WriteDone simply sets the * bytes field in the status structure and frees the request. * * Same function is used for both reads and writes. */int ADIOI_FAKE_IODone(ADIO_Request *request, ADIO_Status *status,		     int *error_code){    if (*request != ADIO_REQUEST_NULL) {#ifdef HAVE_STATUS_SET_BYTES	MPIR_Status_set_bytes(status, (*request)->datatype,			      (*request)->nbytes);#endif	(*request)->fd->async_count--;	ADIOI_Free_request((ADIOI_Req_node *) (*request));	*request = ADIO_REQUEST_NULL;    }    *error_code = MPI_SUCCESS;    return 1;}

⌨️ 快捷键说明

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