Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
las3_pub
/
predictable_parallel_patterns
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9f7fe0d9
authored
6 years ago
by
FritzFlorian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings.
parent
00355880
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lib/pls/include/pls/internal/scheduling/root_master_task.h
+1
-1
lib/pls/include/pls/internal/scheduling/root_worker_task.h
+1
-1
lib/pls/include/pls/internal/scheduling/scheduler.h
+1
-1
No files found.
lib/pls/include/pls/internal/scheduling/root_master_task.h
View file @
9f7fe0d9
...
@@ -36,7 +36,7 @@ namespace pls {
...
@@ -36,7 +36,7 @@ namespace pls {
}
}
}
}
bool
my_stealing
(
abstract_task
*
other_task
)
override
{
bool
my_stealing
(
abstract_task
*
/*other_task*/
)
override
{
return
false
;
return
false
;
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
lib/pls/include/pls/internal/scheduling/root_worker_task.h
View file @
9f7fe0d9
...
@@ -22,7 +22,7 @@ namespace pls {
...
@@ -22,7 +22,7 @@ namespace pls {
}
while
(
!
master_task_
->
finished
());
}
while
(
!
master_task_
->
finished
());
}
}
bool
my_stealing
(
abstract_task
*
other_task
)
override
{
bool
my_stealing
(
abstract_task
*
/*other_task*/
)
override
{
return
false
;
return
false
;
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
lib/pls/include/pls/internal/scheduling/scheduler.h
View file @
9f7fe0d9
...
@@ -44,7 +44,7 @@ namespace pls {
...
@@ -44,7 +44,7 @@ namespace pls {
base
::
barrier
sync_barrier_
;
base
::
barrier
sync_barrier_
;
bool
terminated_
;
bool
terminated_
;
public
:
public
:
scheduler
(
const
unsigned
int
num_threads
)
:
explicit
scheduler
(
const
unsigned
int
num_threads
)
:
num_threads_
{
num_threads
},
num_threads_
{
num_threads
},
sync_barrier_
{
num_threads
+
1
},
sync_barrier_
{
num_threads
+
1
},
terminated_
{
false
}
{
terminated_
{
false
}
{
...
...
This diff is collapsed.
Click to expand it.
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