Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
idg
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
8
Merge Requests
8
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ResearchAndDevelopment
idg
Commits
56eac32e
Commit
56eac32e
authored
Jan 08, 2021
by
Bram Veenboer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler error when DISTRIBUTE_INPUT is 1
parent
dbfc0159
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
idg-bin/examples/cxx/distributed/main.cpp
idg-bin/examples/cxx/distributed/main.cpp
+2
-2
No files found.
idg-bin/examples/cxx/distributed/main.cpp
View file @
56eac32e
...
...
@@ -515,7 +515,7 @@ void run_master(int argc, char *argv[]) {
// Distribute input data
MPIRequestList
requests
;
runtime_input
-=
omp_get_wtime
();
runtime_
send_
input
-=
omp_get_wtime
();
for
(
unsigned
int
bl
=
0
;
bl
<
nr_baselines_all_workers
;
bl
++
)
{
unsigned
int
dest
=
1
+
(
bl
/
nr_baselines_per_worker
);
...
...
@@ -533,7 +533,7 @@ void run_master(int argc, char *argv[]) {
}
requests
.
wait
();
runtime_input
+=
omp_get_wtime
();
runtime_
send_
input
+=
omp_get_wtime
();
// Get master buffers
idg
::
Array2D
<
idg
::
UVW
<
float
>>
uvw
(
uvw_all
.
data
(
nr_baselines_all_workers
,
0
),
nr_baselines_master
,
nr_timesteps
);
...
...
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