📄 chdef.h
字号:
/** @file chdef.h These are the definitions particular to the Intel NX implementation. */#ifndef __comm_v#define __comm_vextern int __NUMNODES, __MYPROCID;#define PI_NO_NSEND#define PI_NO_NRECV#define MPID_USE_BLOCKING#define PSAllProcs 0#define MSG_OTHER 222#define MPIDTRANSPORT "ch_v"/* Note that the send/recv id in a request is actually an integer ARRAY of 4 elements; we pick the first (0 origin) element to hold the Intel id. *//* Prefer the nonblocking, but provide the blocking. */#define PIbsend(tag,buffer,length,to,datatype) \ v_bsend(tag,buffer,length,to)/*#define PInsend(tag,buffer,length,to,datatype,sid) \ do {} while(0)#define PInsendrr(tag,buffer,length,to,datatype,sid) \ do {} while(0)#define PIwsend(tag,buffer,length,to,datatype,sid) \ do {} while(0)#define PIwsendrr PIwsend*/#define PIbrecv(tag,buffer,length,datatype) \ v_brecv(tag,buffer,length,-1)/*#define PInrecv(tag,buffer,length,datatype,rid) \ do {} while(0)#define PInrecvrr(tag,buffer,length,datatype,rid) \ do {} while(0)#define PIwrecv(tag,buffer,length,datatype,rid) \ do {} while(0)#define PIwrecvrr PIwrecv*/#define PInprobe(tag) \ v_probe(tag)#define PIfrom() v_from()/* Global operation used ONLY in heterogeneous setup code so not needed here */#define PInumtids MPID_MyWorldSize#define PImytid MPID_MyWorldRank/* Initialization routines */#define PIiInit v_init#define PIiFinish v_finalize#define SYexitall(msg,code) exit(code);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -