From f1ff9668ef21d67cb1eec2404f70aa10f37cfada Mon Sep 17 00:00:00 2001 From: Dorian Stoll <dorian.stoll@uni-potsdam.de> Date: Thu, 13 Jun 2024 08:02:09 +0200 Subject: [PATCH] rodinia-srad: julia: Fix stderr --- src/benchmarks/rodinia-srad/julia/srad.jl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/benchmarks/rodinia-srad/julia/srad.jl b/src/benchmarks/rodinia-srad/julia/srad.jl index 71c9ea4e..c9002f46 100755 --- a/src/benchmarks/rodinia-srad/julia/srad.jl +++ b/src/benchmarks/rodinia-srad/julia/srad.jl @@ -8,16 +8,16 @@ const RAND_MAX::Float32 = 2147483647.0 function usage() prog = basename(Base.source_path()) # println(STDERR,"Usage ",prog," <rows> <cols> <y1> <y2> <x1> <x2> <no. of threads><lamda> <no. of iter>") - println(STDERR,"Usage ",prog," <rows> <cols> <y1> <y2> <x1> <x2> <lamda> <no. of iter>") - println(STDERR,"\t<rows> - number of rows") - println(STDERR, "\t<cols> - number of cols\n") - println(STDERR, "\t<y1> - y1 value of the speckle\n") - println(STDERR, "\t<y2> - y2 value of the speckle\n") - println(STDERR, "\t<x1> - x1 value of the speckle\n") - println(STDERR, "\t<x2> - x2 value of the speckle\n") + println(stderr,"Usage ",prog," <rows> <cols> <y1> <y2> <x1> <x2> <lamda> <no. of iter>") + println(stderr,"\t<rows> - number of rows") + println(stderr, "\t<cols> - number of cols\n") + println(stderr, "\t<y1> - y1 value of the speckle\n") + println(stderr, "\t<y2> - y2 value of the speckle\n") + println(stderr, "\t<x1> - x1 value of the speckle\n") + println(stderr, "\t<x2> - x2 value of the speckle\n") # println(STDERR, "\t<no. of threads> - no. of threads\n") - println(STDERR, "\t<lamda> - lambda (0,1)\n") - println(STDERR, "\t<no. of iter> - number of iterations\n") + println(stderr, "\t<lamda> - lambda (0,1)\n") + println(stderr, "\t<no. of iter> - number of iterations\n") exit(1) end @@ -29,7 +29,7 @@ function main(args) rows = parse(Int64,args[1]) cols = parse(Int64,args[2]) if ((rows % 16) != 0) | ((cols % 16) != 0) - println(STDERR,"rows and cols must be mutiples of 16") + println(stderr,"rows and cols must be mutiples of 16") exit(1) end r1 = parse(Int32,args[3]) -- GitLab