Skip to content
Snippets Groups Projects
Verified Commit ac3810e4 authored by Dorian Stoll's avatar Dorian Stoll
Browse files

rodinia-srad: julia: Fix order of print statements

parent 0259928c
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,7 @@ function main(args)
println("Randomizing the input matrix")
Random.seed!(7)
I = rand(Float32,rows,cols)
I = rand(Float32, rows, cols)
J = exp.(I)
c::Matrix{Float32} = zeros(rows,cols)
......@@ -129,14 +128,14 @@ function main(args)
end
end
println("Computation done")
for i in 1:size(J,1)
for j in 1:size(J,2)
@printf "%.5f " J[i, j]
end
println()
end
println("Computation done")
end
main(ARGS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment