Skip to content

Commit cacdc32

Browse files
committed
destruct tuple splatting
1 parent d983201 commit cacdc32

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/KernelAbstractions.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ macro index(locale, args...)
181181
end
182182

183183
if length(args) >= 1
184-
185184
if args[1] === :Cartesian ||
186185
args[1] === :Linear ||
187186
args[1] === :NTuple

src/macros.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function split(stmts,
160160
if @capture(stmt, @uniform x_)
161161
push!(allocations, stmt)
162162
continue
163-
elseif @capture(stmt, lhs_ = rhs_)
163+
elseif @capture(stmt, lhs_ = rhs_ | (vs__, lhs_ = rhs_))
164164
if @capture(rhs, @index(args__))
165165
push!(indicies, stmt)
166166
continue

0 commit comments

Comments
 (0)