Open kai-lan opened 1 year ago
The CUDA backend does not support mixed precision (it needs things like mixed precision matrix-vector product, and CuSparse did not have those when the backend was implemented, not sure about now).
You can use the VexCL backend for amgcl with CUDA as backend for VexCL.
constructing the preconditioner is done on CPU, but why do we need to specify backend type for amg precondtioner?
The preconditioner is constructed on the CPU and then moved into the specified backend for application.
I am trying to use float for the preconditioner part. As far as my understanding goes, constructing the preconditioner is done on CPU, but why do we need to specify backend type for amg precondtioner? Or am I doing it in a wrong way:
The above code works fine for built-in or vexcl, but has the following error for CUDA build.