Skip to content

Commit

Permalink
Merge pull request #853 from alfonrod/fix-tests-charcount
Browse files Browse the repository at this point in the history
Fix memory alignment in character count RoCC test
  • Loading branch information
jerryz123 authored Apr 9, 2021
2 parents 30864f1 + dae8c12 commit 440e43d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Sphinx==1.8.5
Pygments==2.2.0
Pygments==2.7.4
sphinx-autobuild
sphinx_rtd_theme==0.2.5b1
docutils==0.16
2 changes: 1 addition & 1 deletion tests/charcount.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "rocc.h"

char string[64] = "The quick brown fox jumped over the lazy dog";
char string[64] __attribute__ ((aligned (64))) = "The quick brown fox jumped over the lazy dog";

static inline unsigned long count_chars(char *start, char needle)
{
Expand Down

0 comments on commit 440e43d

Please sign in to comment.