Commit dd76ada7 authored by Huihuo Zheng's avatar Huihuo Zheng
Browse files

modified test_write_cache for better evaluation

parent e29f11f1
......@@ -12,8 +12,8 @@ LIBS=-L$(HDF5_DIR)/lib -lhdf5 -lz
all: makeso test_write_cache
......@@ -134,8 +134,10 @@ int main(int argc, char **argv) {
for (int i=0; i<niter; i++) {
for(int j=0; j<2*ldims[0]*ldims[1]; j++)
for(int j=0; j<ldims[0]*ldims[1]; j++)
data[j] = i;
for(int j=ldims[0]*ldims[1]; j<2*ldims[0]*ldims[1]; j++)
data[j] = i+niter;
hsize_t loc_buf_dim[2] = {d1, d2};
hsize_t data_dim[2] = {2*d1, d2};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment