SuiteSparse icon indicating copy to clipboard operation
SuiteSparse copied to clipboard

Is it possible to use GPU for solving with FP32 quantization in CHOLMOD?

Open pcbcos opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently, CHOLMOD's calculations on GPU can only use FP64, which is double precision. However, in recent years, the FP64 computation speed of NVIDIA consumer-grade graphics cards is 1/64 of their FP32 speed, which would result in slow solving.

Describe the solution you'd like

Supporting FP32 in the GPU module of CHOLMOD could potentially significantly improve computational speed, albeit at the cost of sacrificing some precision.

pcbcos avatar May 02 '24 14:05 pcbcos

Yes, it's possible. I only recently added FP32 support to the CPU methods in CHOLMOD. Adding them to the CUDA kernels is something I hope to do in the future.

DrTimothyAldenDavis avatar May 03 '24 18:05 DrTimothyAldenDavis