Skip to content

Commit

Permalink
Added deprecated methods for emit.
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Jan 10, 2024
1 parent 4cc4619 commit 128cb00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PartitionedArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export allocate_scatter
export multicast
export multicast!
export allocate_multicast
export emit
export emit!
export allocate_emit
export scan
export scan!
export reduction
Expand Down
5 changes: 5 additions & 0 deletions src/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,11 @@ function scatter_impl!(rcv,snd,source,::Type{T}) where T
rcv
end

# Deprecated
emit(args...;kwargs...) = multicast(args...;kwargs...)
emit!(args...;kwargs...) = multicast!(args...;kwargs...)
allocate_emit(args...;kwargs...) = allocate_multicast(args...;kwargs...)

"""
multicast(snd;source=MAIN)
Expand Down

0 comments on commit 128cb00

Please sign in to comment.