fix selection of number of BLAS threads

This commit is contained in:
kalmarek 2017-09-10 13:01:11 +02:00
parent 4f37db5bde
commit fcccb364bd

2
SL.jl
View File

@ -143,7 +143,7 @@ function main()
if parsed_args["cpus"] > cpuinfo_physicalcores() if parsed_args["cpus"] > cpuinfo_physicalcores()
warn("Number of specified cores exceeds the physical core cound. Performance will suffer.") warn("Number of specified cores exceeds the physical core cound. Performance will suffer.")
end end
Blas.set_num_threads(parsed_args["cpus"]) BLAS.set_num_threads(parsed_args["cpus"])
end end
@time PropertyT.check_property_T(name, S, solver, upper_bound, tol) @time PropertyT.check_property_T(name, S, solver, upper_bound, tol)
return 0 return 0