Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Aug 12, 2017
1 parent 7f84a0d commit 7102bd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,16 @@ end

@allbackends "vec 3" backend begin
N = 20

xc = map(x-> ntuple(i-> rand(Float32), Val{3}), 1:N)
yc = map(x-> ntuple(i-> rand(Float32), Val{3}), 1:N)

x = GPUArray(xc)
y = GPUArray(yc)

res1c = zeros(Float32, N)
res2c = similar(xc)

res1 = GPUArray(res1c)
res2 = GPUArray(res2c)

Expand Down

0 comments on commit 7102bd7

Please sign in to comment.