Debian Codegraph @

bench/perl/templates/testcases.tt

raw
1 #ifndef TESTCASES_H
2 #define TESTCASES_H
3
4 #include <test_types.h>
5
6 [% FOREACH test IN Testcases %]
7 extern void [% test.name %](size_t, ...);
8 [% END %]
9
10 #define TESTS "[% allTests %]"
11 #define NUMKERNELS [% numKernels %]
12
13 static const TestCase kernels[NUMKERNELS] = {
14 [% FOREACH test IN Testcases %]
15 {"[% 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},
16 [% END %]
17 };
18
19 #endif /* TESTCASES_H */