int main(int argc, char* argv[]) { Tests tests; cl_float sparsefactor[] = { 0.001, 0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 }; int numInstances = 500; int reps = 50; int nsparse = sizeof(sparsefactor) / sizeof(cl_float); //tests.standard_single(200, 0.8, true); //tests.grid_single(50, 0.65, false); cl_ulong nnodosarray[] = {50, 100, 200, 500}; int instances[] = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 125, 150, 175, 200}; int numElems = sizeof(sparsefactor) / sizeof(cl_float); tests.test_alltimes_CPU(500, reps, sparsefactor, numElems, true); /* cl_ulong nnodosarray[] = { 10, 20, 40, 100, 200, 400}; int numElems = sizeof(nnodosarray) / sizeof(cl_ulong); for (int i = 0; i < numElems; i++) { cout << i << endl; tests.grid_blockfactor(nnodosarray[i], 1, false); } */ //tests.standard_sparsefactor(400, 5, false); return 0; }