Giuseppe,

It's hard to tell what's wrong without seeing the code.

Best,

Bruno

On Monday, July 17, 2023 at 9:04:42 AM UTC-4 [email protected] wrote:

> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/6e8b642c-70ee-4df5-9dd5-d526d12ef22bn%40googlegroups.com.

Reply via email to