#ifndef TESTCASES_H #define TESTCASES_H #include [% FOREACH test IN Testcases %] extern void [% test.name %](size_t, ...); [% END %] #define TESTS "[% allTests %]" #define NUMKERNELS [% numKernels %] static const TestCase kernels[NUMKERNELS] = { [% FOREACH test IN Testcases %] {"[% test.name %]" , [% test.streams %], [% test.type %], [% test.stride %], &[% test.name %], [% test.flops %], [% test.bytes %], "[% test.desc %]", [% test.loads %], [% test.stores %], [% test.branches %], [% test.instr_const %], [% test.instr_loop %], [% test.uops %], 0, NULL}, [% END %] }; #endif /* TESTCASES_H */