Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Revert "Work around JuliaLang/julia#25055."
Browse files Browse the repository at this point in the history
This reverts commit 70727a4.
  • Loading branch information
maleadt committed Dec 20, 2017
1 parent 9c42f83 commit 5dfe964
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/device/intrinsics/warp_shuffle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ end
end

@generated function shuffle_primitive(op::Function, val, args...)
ex = Expr(:block, Expr(:meta, :inline))
ex = quote
Base.@_inline_meta
end

# disassemble into words
words = Symbol[]
Expand Down Expand Up @@ -140,7 +142,9 @@ end
# aggregates (recurse into fields)

@generated function shuffle_aggregate(op::Function, val::T, args...) where T
ex = Expr(:block, Expr(:meta, :inline))
ex = quote
Base.@_inline_meta
end

fields = fieldnames(T)
if isempty(fields)
Expand Down

0 comments on commit 5dfe964

Please sign in to comment.