i try to raise some awarness for my question by adding some details to my problem:
So in oaralution the preconditioners (except for the jacobi one) are calculated on the host, which requires copying the matricse back and forth from device to host memory. In my application hower i can avoid teh use of the host memory most of teh time and i work on rather small systems that i have to solve very often. So i am searching for a way to stay on the device memory. Here i thought now that i can caclulte an ilu preconditioner as a matrix in csr format and tell paralution to use it as its preconditioner. I just didnt find a way to set such a matrix preconditioenr in the manual.
SO my question is:
How can i set a matrix in csr format as the preconditioner for my linear system?
There is no preconditioner where you can just plug a new matrix. There is no such thing because how would you solve such system? If there is a similar solving technique (within the existing framework) for solving your type of preconditioner, feel free to modify the code and to add your version of it. It should not be very difficult to write Set() function where you can pass your matrix. At the end, this is an open-source project – feel free to contribute :)