chenxm1986 / cktso-gpu

CKTSO-GPU is a GPU-based Sparse Solver Accelerator for Circuit Simulation
3 stars 1 forks source link

Windows DLL available? #1

Open gkovacsds opened 1 year ago

gkovacsds commented 1 year ago

Dear Mr.Chen, do you have a windows dll compiled? We'd like to try out CKTSO-GPU. Best regards, Geri

chenxm1986 commented 1 year ago

windows dlls added

gkovacsds commented 1 year ago

Thank you, it's working. I tried it on a GEForce RTX 3070 Ti. Refact. and Solve looks slower than on CPU, it's a Ryzen 9 7950. System monitor shows GPU usage well.

With demo benchmark program it's much slower- see attached screens. Do you know how we can improve it? Linux could work better? What is you experience?

cktso cpu 8 cktso gpu cktso cpu 1

chenxm1986 commented 1 year ago

This matches expected. Add20 is a very small and sparse case. The GPU module can only accelerate matrices which are large and slightly dense, like those matrices from large-scale circuit post-layout simulations. You can try other matrices like g2_circuit, twotone, etc. Though GPU acceleration for sparse solvers itself is an extremely hard problem, I will try to improve this library by using some new ideas.