Skip to content

scheduler kwarg for mapreduce based functions #53656

@MasonProtter

Description

@MasonProtter

I think it'd be useful if we added a keyword argument to mapreduce and mapreduce based functions that lets one swap out the reduction implementation. Then a package like Distributed, OhMyThreads, CUDA, etc can define and export schedulers which can be passed to mapreduce to change the details of the scheduling (i.e. multithreading, multiprocessing, GPU, etc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    designDesign of APIs or of the language itselffoldsum, maximum, reduce, foldl, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions