Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Grigory Kozlov
cbmroot
Commits
22f23f70
Commit
22f23f70
authored
1 year ago
by
Grigory Kozlov
Browse files
Options
Downloads
Plain Diff
Merge branch cbmroot:master into master
parents
a057519b
f90f201a
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
algo/detectors/tof/Hitfind.cxx
+6
-5
6 additions, 5 deletions
algo/detectors/tof/Hitfind.cxx
with
6 additions
and
5 deletions
algo/detectors/tof/Hitfind.cxx
+
6
−
5
View file @
22f23f70
...
...
@@ -109,12 +109,13 @@ namespace cbm::algo::tof
xpu
::
push_timer
(
"TofHitfind"
);
xpu
::
t_add_bytes
(
digiIn
.
size_bytes
());
#pragma omp parallel
CBM_PARALLEL
()
{
const
int
ithread
=
openmp
::
GetThreadNum
();
const
int
nthreads
=
openmp
::
GetNumThreads
();
#pragma omp
single
CBM_OMP
(
single
)
{
cluPrefix
.
resize
(
nthreads
+
1
);
sizePrefix
.
resize
(
nthreads
+
1
);
...
...
@@ -124,7 +125,7 @@ namespace cbm::algo::tof
auto
[
clusters
,
sizes
,
addresses
,
indices
]
=
Clusterizer
::
resultType
();
#pragma omp
for schedule(dynamic) nowait
CBM_OMP
(
for
schedule
(
dynamic
)
nowait
)
for
(
uint32_t
iRpc
=
0
;
iRpc
<
fAlgo
.
size
();
iRpc
++
)
{
// Get digis
...
...
@@ -154,9 +155,9 @@ namespace cbm::algo::tof
sizePrefix
[
ithread
+
1
]
=
sizes
.
size
();
addrPrefix
[
ithread
+
1
]
=
addresses
.
size
();
indPrefix
[
ithread
+
1
]
=
indices
.
size
();
#pragma omp
barrier
CBM_OMP
(
barrier
)
#pragma omp
single
CBM_OMP
(
single
)
{
for
(
int
i
=
1
;
i
<
(
nthreads
+
1
);
i
++
)
{
cluPrefix
[
i
]
+=
cluPrefix
[
i
-
1
];
...
...
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