Home
last modified time | relevance | path

Searched refs:MAXELEMS (Results 1 – 10 of 10) sorted by relevance

/dports/net/mpich/mpich-3.4.3/test/mpi/rma/
H A Dcontention_put.c18 #define MAXELEMS 6400 macro
30 double src_buf[MAXELEMS]; in test_put()
34 MPI_Alloc_mem(sizeof(double) * nproc * MAXELEMS, MPI_INFO_NULL, &dst_buf); in test_put()
35 MPI_Win_create(dst_buf, sizeof(double) * nproc * MAXELEMS, 1, MPI_INFO_NULL, in test_put()
38 for (i = 0; i < MAXELEMS; i++) in test_put()
43 for (i = 0; i < nproc * MAXELEMS; i++) in test_put()
58 (me * MAXELEMS + j) * sizeof(double), sizeof(double), MPI_BYTE, dst_win); in test_put()
69 if (dst_buf[i * MAXELEMS + j] != 1.0 + i) { in test_put()
72 i * MAXELEMS + j, dst_buf[i * MAXELEMS + j], 1.0 + i); in test_put()
92 assert(COUNT <= MAXELEMS); in main()
H A Dcontention_putget.c18 #define MAXELEMS 6400 macro
29 double src_buf[MAXELEMS]; in test_put()
32 MPI_Alloc_mem(sizeof(double) * nproc * MAXELEMS, MPI_INFO_NULL, &dst_buf); in test_put()
33 MPI_Win_create(dst_buf, sizeof(double) * nproc * MAXELEMS, 1, MPI_INFO_NULL, MPI_COMM_WORLD, in test_put()
36 for (i = 0; i < MAXELEMS; i++) in test_put()
41 for (i = 0; i < nproc * MAXELEMS; i++) in test_put()
56 (me * MAXELEMS + j) * sizeof(double), sizeof(double), MPI_BYTE, dst_win); in test_put()
65 (me * MAXELEMS + j) * sizeof(double), sizeof(double), MPI_BYTE, dst_win); in test_put()
83 assert(COUNT <= MAXELEMS); in main()
/dports/net/mpich2/mpich2-1.5/test/mpi/rma/
H A Dcontention_put.c19 #define MAXELEMS 6400 macro
31 double src_buf[MAXELEMS]; in test_put()
35 MPI_Alloc_mem(sizeof(double)*nproc*MAXELEMS, MPI_INFO_NULL, &dst_buf); in test_put()
36 MPI_Win_create(dst_buf, sizeof(double)*nproc*MAXELEMS, 1, MPI_INFO_NULL, in test_put()
39 for (i = 0; i < MAXELEMS; i++) in test_put()
44 for (i = 0; i < nproc*MAXELEMS; i++) in test_put()
58 (me*MAXELEMS+j)*sizeof(double), sizeof(double), MPI_BYTE, dst_win); in test_put()
69 if (dst_buf[i*MAXELEMS+j] != 1.0 + i) { in test_put()
72 i*MAXELEMS+j, dst_buf[i*MAXELEMS+j], 1.0 + i ); in test_put()
91 assert(COUNT <= MAXELEMS); in main()
H A Dcontention_putget.c18 #define MAXELEMS 6400 macro
29 double src_buf[MAXELEMS]; in test_put()
32 MPI_Alloc_mem(sizeof(double)*nproc*MAXELEMS, MPI_INFO_NULL, &dst_buf); in test_put()
33 …MPI_Win_create(dst_buf, sizeof(double)*nproc*MAXELEMS, 1, MPI_INFO_NULL, MPI_COMM_WORLD, &dst_win); in test_put()
35 for (i = 0; i < MAXELEMS; i++) in test_put()
40 for (i = 0; i < nproc*MAXELEMS; i++) in test_put()
53 …MPI_Put(&src_buf[j], sizeof(double), MPI_BYTE, target, (me*MAXELEMS+j)*sizeof(double), sizeof(doub… in test_put()
60 …MPI_Get(&src_buf[j], sizeof(double), MPI_BYTE, target, (me*MAXELEMS+j)*sizeof(double), sizeof(doub… in test_put()
77 assert(COUNT <= MAXELEMS); in main()
/dports/devel/ga/ga-5.8/armci/examples/features/aggregation/simple/
H A Dsimple.c141 #define MAXELEMS 1000 macro
142 #define MAX_REQUESTS MAXELEMS
146 int i, j, rc, bytes, elems[2] = {MAXPROC, MAXELEMS}; in test_aggregate()
152 armci_hdl_t hdl_put[MAXELEMS]; in test_aggregate()
153 armci_hdl_t hdl_get[MAXELEMS]; in test_aggregate()
173 … if(!dryrun)printf("Transferring %d doubles (Not an array of %d doubles)\n", MAXELEMS, MAXELEMS); in test_aggregate()
/dports/devel/ga/ga-5.8/armci/testing/
H A Dperf_aggr.c155 #define MAXELEMS 1000 macro
156 #define MAX_REQUESTS MAXELEMS
161 int i, j, rc, bytes, elems[2] = {MAXPROC, MAXELEMS}; in test_aggregate()
167 armci_hdl_t hdl_put[MAXELEMS]; in test_aggregate()
168 armci_hdl_t hdl_get[MAXELEMS]; in test_aggregate()
191 printf("Transferring %d doubles (Not an array of %d doubles)\n", MAXELEMS, MAXELEMS); in test_aggregate()
H A Dperf_nb.c72 #define MAXELEMS 131072 /* 262144 */ macro
73 #define MAX_REQUESTS MAXELEMS
225 int i, j, loop, rc, bytes, elems[2] = {MAXPROC, MAXELEMS}; in test_perf_nb()
243 for (loop = 1; loop <= MAXELEMS; loop *= 2, k++) { in test_perf_nb()
246 ntimes = (int)sqrt((double)(MAXELEMS / elems[1])); in test_perf_nb()
H A Dtest.c1631 #define MAXELEMS 6400 macro
1639 int i, j, k, rc, bytes, elems[2] = {MAXPROC, MAXELEMS}; in test_aggregate()
1814 int i, j, k, rc, bytes, elems[2] = {MAXPROC, MAXELEMS}; in test_implicit()
/dports/archivers/xmill/xmill/XMill/
H A DMSXMLOutput.cpp38 curelems = new bla[MAXELEMS]; in myCreateFile()
40 for (int i=1; i<MAXELEMS; i++) { in myCreateFile()
113 if (curelemnum == MAXELEMS) { in startElement()
H A DXMLOutput.hpp100 #define MAXELEMS 1024 macro