Hello everyone, I'm writing this post to ask some help for a CUDA code. I have implemented a matrix-based CUDA coda for the so-called solid body rotation, namely a time dependent advection problem. In my first implementation, I encapulased the computation of the matrix and of the right-hand side of the resulting linear system in the same routine ('assemble_system'). Then, I tried to separate the assembling of the matrix ('assemble_matrix') and of the rhs ('assemble_rhs'). Since the matrix does not change (I am using an explicit time integration scheme and, therefore, the resulting matrix is a mass matrix), I compute it at the beginning and then I just update the right-hand side. Everything works until I save the results, after which I obtain this error ("On entry to cusparseSpMV() parameter number 1 (handle) had an illegal value: invalid pointer mode"). I also tried to create an auxiliary vector just for saving, but nothing changes. Everything runs with 1 GPU. Have anyone ever obtained this kind of issue? If it can help, I can share the two versions of the code.
Thanks in advance Best Giuseppe -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/704a6ab2-8036-485f-ae25-257597328063n%40googlegroups.com.