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

Commit

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

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

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

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

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

0 comments on commit 70727a4

Please sign in to comment.