3 #include <cl_integer.h>
4 #include <cl_integer_io.h>
12 int main (int argc, char * argv[])
15 if ((argc >= 3) && !strcmp(argv[1],"-r")) {
16 repetitions = atoi(argv[2]);
21 cl_I m = cl_I(argv[1]);
22 cl_I M = (cl_I)1 << (intDsize*m);
24 // One run to fill the cache.
26 char* p = cl_decimal_string(a);
29 // Now start the timing.
31 for (int rep = repetitions; rep > 0; rep--)
32 { char* p = cl_decimal_string(a); cl_free_hook(p); }