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
Adding functionalities to datapar needed by octotiger #2388
Conversation
hkaiser
commented
Nov 12, 2016
- adding datapar serialization
- adding fixed size arrays support from Vc
- enable using datapar_execution on input ranges over vector packs (Vc only for now)
- adding datapar serialization - adding fixed size arrays support from Vc - enable using datapar_execution on input ranges over vector packs (Vc only for now)
3b8c54d
to
55c27bf
Compare
…st.Simd) - flyby: fix pack serialization
457a745
to
477f8ef
Compare
- flyby: added datapar_..._shim<> execution policies - added tests
1362e1e
to
b0afa3d
Compare
- properly implement dataseq execution policies
b0afa3d
to
756f4bb
Compare
@@ -26,17 +27,18 @@ | |||
namespace hpx { namespace parallel { HPX_INLINE_NAMESPACE(v1) | |||
{ | |||
/////////////////////////////////////////////////////////////////////////// | |||
/// Extension: The class datapar_task_execution_policy is an execution | |||
/// Extension: The class sequential_task_execution_policy is an execution |
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.
why the change from datapar_task_execution_policy
? Shouldn't it be dataseq_task_execution_policy
?
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.
Stupid mistake, thanks
/// | ||
template <typename... Parameters, typename ParametersType = | ||
typename executor_parameters_join<Parameters...>::type> | ||
typename rebind_executor< | ||
datapar_task_execution_policy, executor_type, ParametersType | ||
sequential_task_execution_policy, executor_type, ParametersType |
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.
shouldn't that be dataseq_task_execution_policy
?
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.
Thanks, copy&paste error.
>::type | ||
with(Parameters &&... params) const | ||
{ | ||
typedef typename rebind_executor< | ||
datapar_task_execution_policy, executor_type, ParametersType | ||
sequential_task_execution_policy, executor_type, ParametersType |
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.
same as above
{ | ||
/// \cond NOINTERNAL | ||
template <> | ||
struct is_datapar_execution_policy<dataseq_execution_policy> |
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.
so dataseq is a datapar execution policy? That sounds confusing.
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.
is_datapar_execution_policy
should probably be renamed to something else, I'm not sure what name to use, though. Any ideas?
@sithhell all review comments have been addressed |