Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Merge requests
!66
Feature/reduced verbosity
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/reduced verbosity
feature/reduced-verbosity
into
develop
Overview
0
Commits
10
Pipelines
0
Changes
4
Merged
Feature/reduced verbosity
Stéphane Del Pino
requested to merge
feature/reduced-verbosity
into
develop
Nov 9, 2020
Overview
0
Commits
10
Pipelines
0
Changes
4
0
0
Merge request reports
Viewing commit
b037330f
Prev
Next
Show latest version
4 files
+
117
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
b037330f
Fix OMP_PLACES default value and add a few tests for PugsUtils
· b037330f
Stéphane Del Pino
authored
Nov 9, 2020
src/utils/PugsUtils.cpp
+
3
−
1
View file @ b037330f
Edit in single-file editor
Open in Web IDE
Show full file
@@ -30,11 +30,13 @@ pugsVersion()
os
<<
"HEAD: "
<<
rang
::
style
::
bold
<<
RevisionInfo
::
gitHead
()
<<
rang
::
style
::
reset
<<
'\n'
;
os
<<
"hash: "
<<
rang
::
style
::
bold
<<
RevisionInfo
::
gitHash
()
<<
rang
::
style
::
reset
<<
" ("
;
// LCOV_EXCL_START Cannot cover both situations at same time
if
(
RevisionInfo
::
gitIsClean
())
{
os
<<
rang
::
fgB
::
green
<<
"clean"
<<
rang
::
fg
::
reset
;
}
else
{
os
<<
rang
::
fgB
::
red
<<
"dirty"
<<
rang
::
fg
::
reset
;
}
// LCOV_EXCL_STOP
os
<<
")
\n
"
;
os
<<
"-------------------------------------------------------"
;
@@ -63,7 +65,7 @@ setDefaultOMPEnvironment()
{
if
constexpr
(
std
::
string_view
{
PUGS_BUILD_KOKKOS_DEVICES
}
==
std
::
string_view
{
"OpenMP"
})
{
setenv
(
"OMP_PROC_BIND"
,
"spread"
,
0
);
setenv
(
"OMP_PLACES"
,
"treads"
,
0
);
setenv
(
"OMP_PLACES"
,
"t
h
reads"
,
0
);
}
}
Loading