Skip to content
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

added pmap method for arrays, with type/shape of result the same as map #14635

Closed
wants to merge 1 commit into from

Conversation

gajomi
Copy link
Contributor

@gajomi gajomi commented Jan 11, 2016

Implements array methods for pmap so that the shape and eltype of return type are the same as those from map (see issue #14265).

Example:

julia> a = rand(2,2)
2x2 Array{Float64,2}:
 0.745134  0.94089 
 0.382871  0.809724

julia> b = map(abs,a)
2x2 Array{Float64,2}:
 0.745134  0.94089 
 0.382871  0.809724

julia> c = pmap(abs,a)
2x2 Array{Float64,2}:
 0.745134  0.94089 
 0.382871  0.809724

Further tests for n-ary functions in PR body.

@gajomi gajomi force-pushed the pmaparrayspecialization branch from 0afda50 to 4e6998a Compare January 11, 2016 06:48
@kshyatt kshyatt added the parallelism Parallel or distributed computation label Jan 11, 2016
@gajomi
Copy link
Contributor Author

gajomi commented Feb 19, 2016

Is there anything that should be done (or undone) to get this merged?

@tkelman
Copy link
Contributor

tkelman commented Nov 1, 2016

@amitmurthy did you implement this recently?

sorry this never got revewed @gajomi

@amitmurthy
Copy link
Contributor

shape works now, type and leveraging the different map implementations is yet to be done.

@vtjnash
Copy link
Member

vtjnash commented Feb 10, 2024

Moved to JuliaLang/Distributed.jl#33

@vtjnash vtjnash closed this Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parallelism Parallel or distributed computation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants