Skip to content

Evaluate unification of how Thrust execution policies are passed around #3862

Open

Description

@jrhemstad

@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.

Activity

  1. bernhardmgruber commented on Mar 3, 2025

    @bernhardmgruber
    Contributor

    @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.

  2. brycelelbach commented on Mar 3, 2025

    @brycelelbach
    Contributor

    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.

  3. jrhemstad commented on Mar 3, 2025

    @jrhemstad
    CollaboratorAuthor

    I believe #1645 (comment) is one instance of the kinds of issues @brycelelbach is referring to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions