Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaudi
Gaudi
Commits
ef1821a0
Commit
ef1821a0
authored
1 year ago
by
jmcarcell
Browse files
Options
Downloads
Patches
Plain Diff
Make changes to enable compiling
parent
b608885e
No related branches found
No related tags found
1 merge request
!1495
Support oneTBB
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
GaudiHive/src/AvalancheSchedulerSvc.cpp
+0
-2
0 additions, 2 deletions
GaudiHive/src/AvalancheSchedulerSvc.cpp
GaudiHive/src/HiveNumbers.h
+1
-1
1 addition, 1 deletion
GaudiHive/src/HiveNumbers.h
GaudiHive/src/ThreadPoolSvc.cpp
+1
-1
1 addition, 1 deletion
GaudiHive/src/ThreadPoolSvc.cpp
with
2 additions
and
4 deletions
GaudiHive/src/AvalancheSchedulerSvc.cpp
+
0
−
2
View file @
ef1821a0
...
...
@@ -34,8 +34,6 @@
#include
"boost/algorithm/string.hpp"
#include
"boost/thread.hpp"
#include
"boost/tokenizer.hpp"
// DP waiting for the TBB service
#include
"tbb/tbb_stddef.h"
// Instantiation of a static factory class used by clients to create instances of this service
DECLARE_COMPONENT
(
AvalancheSchedulerSvc
)
...
...
This diff is collapsed.
Click to expand it.
GaudiHive/src/HiveNumbers.h
+
1
−
1
View file @
ef1821a0
...
...
@@ -33,7 +33,7 @@ class IRndmGenSvc;
namespace
HiveRndm
{
typedef
tbb
::
spin_rw_mutex
_v3
HiveNumbersMutex
;
typedef
tbb
::
spin_rw_mutex
HiveNumbersMutex
;
class
GAUDI_API
HiveNumbers
{
private:
...
...
This diff is collapsed.
Click to expand it.
GaudiHive/src/ThreadPoolSvc.cpp
+
1
−
1
View file @
ef1821a0
...
...
@@ -114,7 +114,7 @@ StatusCode ThreadPoolSvc::initPool( const int& poolSize ) {
Gaudi
::
Concurrency
::
ConcurrencyFlags
::
setNumThreads
(
m_threadPoolSize
);
// Create the task arena to run all algorithms
m_arena
=
tbb
::
task_arena
(
m_threadPoolSize
+
1
);
m_arena
.
initialize
(
m_threadPoolSize
+
1
);
// Create the barrier for task synchronization at termination
// (here we increase the number of threads by one to account for calling thread)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment