You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Evaluate unification of how Thrust execution policies are passed around #3862
@brycelelbach says that there's historical inconsistencies in how Thrust execution policies are passed around. With making breaking changes in 3.0, this could be a good time to evaluate moving to a more principled model.
@brycelelbach could you please elaborate a bit on what the inconsistencies are? My notes say that execution policies should be passed by const& and infering them from iterators could be remodeled.
The issue is how we attach things to do them - look at how allocators and streams are attached, and how we have to rely on weird inheritance patterns and combinatorial derived classes to support it.
Activity
bernhardmgruber commentedon Mar 3, 2025
@brycelelbach could you please elaborate a bit on what the inconsistencies are? My notes say that execution policies should be passed by
const&and infering them from iterators could be remodeled.brycelelbach commentedon Mar 3, 2025
The issue is how we attach things to do them - look at how allocators and streams are attached, and how we have to rely on weird inheritance patterns and combinatorial derived classes to support it.
jrhemstad commentedon Mar 3, 2025
I believe #1645 (comment) is one instance of the kinds of issues @brycelelbach is referring to.