Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
compass-github-pull
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
steinbac
compass-github-pull
Commits
242008ce
Commit
242008ce
authored
Aug 17, 2018
by
Peter Steinbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added levels_available API
parent
6e1ebaa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
tests/test_compass_impl.cpp
tests/test_compass_impl.cpp
+6
-2
No files found.
tests/test_compass_impl.cpp
View file @
242008ce
...
...
@@ -34,8 +34,12 @@ TEST_CASE( "compass_fundamentals" ){
SECTION
(
"compass_yields_non_zero_L1size"
){
auto
value
=
compass
::
runtime
::
size
::
cacheline
::
level
(
1
);
REQUIRE
(
value
>
0u
);
if
(
compass
::
runtime
::
size
::
cache
::
levels_available
()){
auto
value
=
compass
::
runtime
::
size
::
cache
::
level
(
1
);
REQUIRE
(
value
>
0u
);
}
else
{
SUCCEED
(
"no cache architecture available on this host"
);
}
}
...
...
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