Skip to content

Commit

Permalink
changs to performance measuring program
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Apr 1, 2019
1 parent 2402895 commit 8ba35c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/cunit/test_perf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
#include <sys/time.h>

/* The number of tasks this test should run on. */
#define TARGET_NTASKS 4
#define TARGET_NTASKS 16

/* The minimum number of tasks this test should run on. */
#define MIN_NTASKS 4
#define MIN_NTASKS TARGET_NTASKS

/* The name of this test. */
#define TEST_NAME "test_perf2"
Expand All @@ -35,7 +35,7 @@
/* The length of our sample data along each dimension. */
#define X_DIM_LEN 512
#define Y_DIM_LEN 512
#define Z_DIM_LEN 64
#define Z_DIM_LEN 512

/* This is the length of the map for each task. */
#define EXPECTED_MAPLEN (X_DIM_LEN * Y_DIM_LEN * Z_DIM_LEN / TARGET_NTASKS)
Expand Down Expand Up @@ -176,7 +176,7 @@ int test_darray(int iosysid, int ioid, int num_flavors, int *flavor, int my_rank
{
/* Initialize some data. */
for (int f = 0; f < arraylen; f++)
test_data[f] = (my_rank * 10 + f) * t;
test_data[f] = (my_rank * 10 + f) + t * 1000;

/* Set the value of the record dimension. */
if ((ret = PIOc_setframe(ncid, varid, t)))
Expand Down

0 comments on commit 8ba35c2

Please sign in to comment.