-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taskflow workstream review #21
Conversation
@@ -661,7 +661,140 @@ namespace WorkStream | |||
|
|||
} // namespace tbb_no_coloring | |||
# endif // DEAL_II_WITH_TBB | |||
# ifdef DEAL_II_WITH_TASKFLOW |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 empty lines before
include/deal.II/base/work_stream.h
Outdated
typename Iterator, | ||
typename ScratchData, | ||
typename CopyData> | ||
void run(const Iterator & begin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a comment to the run function as
/**
*
*/
that mentions that you are ignoring the last 2 arguments?
include/deal.II/base/work_stream.h
Outdated
|
||
unsigned int idx = 0; | ||
|
||
std::vector<std::unique_ptr<CopyData>> copy_datas; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comment that this is used to communicate between worked and copier?
include/deal.II/base/work_stream.h
Outdated
|
||
// Find our currently used scratch data and | ||
// mark it as unused. | ||
for (typename ScratchDataList::iterator p = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be a ranged-for:
for (typename ScratchDataList::iterator p = | |
for (auto &p : scratch_data_list) |
d05c8e0
to
ecc709c
Compare
ecc709c
to
79d0fc7
Compare
step-87: Clear ghost values in a vector
Add DiscreteTime::serialize() and DiscreteTime::memory_consumption()
testing of step-40 to step-49
testing step-70 to step-79
Fix Tpetra types for older Trilinos
CMake: Explain why we disable dynamic linking on Windows.
step-29 no longer uses deallog. Update output in results.dox accordingly.
Updates to the LogStream documentation.
Remove an unnecessary 'typename' in step-19.
Make a 'Mapping' object 'const'.
Support codim-1 in hyper_shell() and hyper_cube_with_cylindrical_hole()
testing of step-80 to step-89
…_index_nodal_simplex Add `face_to_cell_index_nodal` for simplex elements
.gitattributes: update for testsuite changes
MGTwoLevelTransfer: Use function without constraints forgotten before
Update changes file for release
Adjust tests for class Lazy.
Fix MSVC not finding an overloaded function.
Update VERSION
FEFaceEvaluation: Implement normal hessian
Windows: Use GNU patch instead of Strawberry Perl patch.
Post release branch: Require the current version of deal.II
Post release branch: switch DEAL_II_DEPRECATED_EARLY to DEAL_II_DEPRECATED
Fix some more dependencies.
Obey the rule of 5 or 7 in TaskResult.
e7144c0
to
e14716c
Compare
No description provided.