diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 00:37:06 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 00:37:06 -0400 |
| commit | 1849016a4c0fd3d62b0acb66e7fd0f8c92b4c6fb (patch) | |
| tree | 932b2074ccc51d279ea04495b4d840a813e28ee2 /baseline/source/anagram/anagram_stdlib.c | |
| parent | 83f8b415563703d9efdf258a60f10fcca264565d (diff) | |
Fix 4 more bugs in TACLeBench
- anagram: Fix two off-by-ones, the heap size, and the result
- rijndael_dec: Reset result checksum at job start
- huff_enc: Reset mutable global variables at job start
Diffstat (limited to 'baseline/source/anagram/anagram_stdlib.c')
| -rw-r--r-- | baseline/source/anagram/anagram_stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseline/source/anagram/anagram_stdlib.c b/baseline/source/anagram/anagram_stdlib.c index c766a5e..5c9f3fc 100644 --- a/baseline/source/anagram/anagram_stdlib.c +++ b/baseline/source/anagram/anagram_stdlib.c | |||
| @@ -126,7 +126,7 @@ void anagram_qsort( void *va, unsigned long n, unsigned long es ) | |||
| 126 | 126 | ||
| 127 | 127 | ||
| 128 | /* This must be redefined for each new benchmark */ | 128 | /* This must be redefined for each new benchmark */ |
| 129 | #define ANAGRAM_HEAP_SIZE 18000 | 129 | #define ANAGRAM_HEAP_SIZE 20388 |
| 130 | 130 | ||
| 131 | static char anagram_simulated_heap[ANAGRAM_HEAP_SIZE]; | 131 | static char anagram_simulated_heap[ANAGRAM_HEAP_SIZE]; |
| 132 | static unsigned int anagram_freeHeapPos; | 132 | static unsigned int anagram_freeHeapPos; |
