diff --git a/src/benchmarks/rodinia-srad/julia/srad.jl b/src/benchmarks/rodinia-srad/julia/srad.jl index 71c9ea4ed87e1882cb4c588d42b52656ce73e398..c9002f468067d8b5c5ec8b5688b233a52c8026fb 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])