Skip to content

Commit d61bd2b

Browse files
committed
explicitly disable cudss superpanels, which seems to make factorization more efficient in large problems
1 parent 22f3ae9 commit d61bd2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cupiqp/sparse/sparse_direct_solver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def __init__(self, matrix: Union[csr_matrix, UniformBatchedCsrMatrix], use_deter
136136
ubatch_size.dtype.itemsize,
137137
)
138138
self._cudss_solver.plan_config.reordering_algorithm = DirectSolverAlgType.ALG_DEFAULT
139+
self._cudss_solver.plan_config.use_superpanels = 0
139140
self._cudss_solver.solution_config.ir_num_steps = 0 # NOTE: iterative refinement steps, to be tuned
140141
# cudss has IR_TOL, but not implemented yet according to https://docs.nvidia.com/cuda/cudss/types.html#c.cudssConfigParam_t.CUDSS_CONFIG_IR_TOL
141142
# self._cudss_solver.plan_config.pivot_type = cudss_bindings.PivotType.PIVOT_COL

0 commit comments

Comments
 (0)