use current cuda sm
improve linear solver