diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:30 +0200 |
| commit | e986713657bc5f9880e91ed49dd9b0d0227f048d (patch) | |
| tree | 908d371e60546795c4ca1f9a3b67571b964203c5 /test/100_gendata_cocsep | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip | |
Use callback function to log to stderr
Diffstat (limited to 'test/100_gendata_cocsep')
| -rw-r--r-- | test/100_gendata_cocsep/gendata_cocsep_tests.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c index 9d8f03c..4a29ebb 100644 --- a/test/100_gendata_cocsep/gendata_cocsep_tests.c +++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | size_t gendata_cocsep(void *, uint64_t *, cube_t *); | 5 | size_t gendata_cocsep(void *, uint64_t *, cube_t *); |
| 6 | 6 | ||
| 7 | int main(void) { | 7 | void run(void) { |
| 8 | uint32_t buf[300000], i; | 8 | uint32_t buf[300000], i; |
| 9 | uint64_t selfsim[COCSEP_CLASSES]; | 9 | uint64_t selfsim[COCSEP_CLASSES]; |
| 10 | cube_t rep[COCSEP_CLASSES]; | 10 | cube_t rep[COCSEP_CLASSES]; |
| @@ -17,6 +17,4 @@ int main(void) { | |||
| 17 | printf("Max value: %" PRIu32 "\n", buf[result/4-11]); | 17 | printf("Max value: %" PRIu32 "\n", buf[result/4-11]); |
| 18 | for (i = 0; i < 10; i++) | 18 | for (i = 0; i < 10; i++) |
| 19 | printf("%" PRIu32 ": %" PRIu32 "\n", i, buf[result/4-10+i]); | 19 | printf("%" PRIu32 ": %" PRIu32 "\n", i, buf[result/4-10+i]); |
| 20 | |||
| 21 | return 0; | ||
| 22 | } | 20 | } |
