fix selection of number of BLAS threads
This commit is contained in:
parent
4f37db5bde
commit
fcccb364bd
2
SL.jl
2
SL.jl
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user