Hi everyone, this is the first time I post my question here!

As I mentioned in the title, I need to write some code in the __kernel function to implement the matrix inversion, but I don't know how to do it.

Is there any existing library that can solve this?

Thanks a lot!