The CLAMR code is a cell-based adaptive mesh refinement (AMR) mini-app developed as a testbed for hybrid algorithm development using MPI and OpenCL GPU code.
On Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz:
compile_time: 125.6392 exec_time: 7.3060 Maximum resident set size (kbytes): 13232
This also depends on rand. See my comments on this in D36621 and D36626.
And note that you can then do:
#define drand48() (1.0 * rand() / RAND_MAX)
#define srand48(x) srand(x)