Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
las3_pub
/
predictable_parallel_patterns
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
46281fe9
authored
Apr 06, 2020
by
FritzFlorian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: aligned stack test uses non-aligned data array.
parent
e1eb31da
Pipeline
#1433
passed with stages
in 3 minutes 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
test/data_structures_test.cpp
+1
-2
No files found.
test/data_structures_test.cpp
View file @
46281fe9
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
#include "pls/internal/base/system_details.h"
#include "pls/internal/base/system_details.h"
#include "pls/internal/data_structures/aligned_stack.h"
#include "pls/internal/data_structures/aligned_stack.h"
#include "pls/internal/data_structures/bounded_trading_deque.h"
using
namespace
pls
::
internal
::
data_structures
;
using
namespace
pls
::
internal
::
data_structures
;
using
namespace
pls
::
internal
::
base
;
using
namespace
pls
::
internal
::
base
;
...
@@ -16,7 +15,7 @@ TEST_CASE("aligned stack stores objects correctly", "[internal/data_structures/a
...
@@ -16,7 +15,7 @@ TEST_CASE("aligned stack stores objects correctly", "[internal/data_structures/a
constexpr
long
data_size
=
1024
;
constexpr
long
data_size
=
1024
;
SECTION
(
"plain aligned stack"
)
{
SECTION
(
"plain aligned stack"
)
{
char
data
[
data_size
];
alignas
(
system_details
::
CACHE_LINE_SIZE
)
char
data
[
data_size
];
aligned_stack
stack
{
data
,
data_size
,
data_size
};
aligned_stack
stack
{
data
,
data_size
,
data_size
};
test_stack
(
stack
);
test_stack
(
stack
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment