Skip to content

Commit ec770f1

Browse files
committed
Fix to amps_EmbeddedInitComm
* change comm to com
1 parent 49bcabd commit ec770f1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pfsimulator/amps/cuda/amps_proto.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ amps_File amps_Fopen(char *filename, char *type);
3636
/* amps_init.c */
3737
int amps_Init(int *argc, char **argv []);
3838
int amps_EmbeddedInit(void);
39+
int amps_EmbeddedInit(MPI_COMM comm);
3940
int amps_EmbeddedInitFComm(MPI_Fint *f_handle);
40-
int amps_EmbeddedInitComm(MPI_COMM comm);
41+
int amps_EmbeddedInitComm(MPI_Comm com);
4142

4243
/* amps_invoice.c */
4344
void amps_AppendInvoice(amps_Invoice *invoice, amps_Invoice append_invoice);

pfsimulator/amps/seq/amps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ typedef FILE *amps_File;
9696
#define amps_Init(argc, argv) amps_clock_init(), 0
9797
#define amps_EmbeddedInit() amps_clock_init(), 0
9898
#define amps_EmbeddedInitFComm(f_handle) amps_clock_init(), 0
99-
#define amps_EmbeddedInitComm(comm) amps_clock_init(), 0
99+
#define amps_EmbeddedInitComm(com) amps_clock_init(), 0
100100

101101
#define amps_IExchangePackage(package) 0
102102

0 commit comments

Comments
 (0)