[PyCUDA] Re: Unresolved issue with PyCUDA

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PyCUDA] Re: Unresolved issue with PyCUDA

Kloeckner, Andreas Paul Eberhard
Dear Tyler,

Please send requests like this to the appropriate mailing list.

Thanks!
Andreas

Tyler Buresh <[hidden email]> writes:

> I hope you’re having a great week. If you don’t mind, I’m eager to get your
> advice on a PyCUDA issue I’m having, as it seems like you might be best
> person to ask.
>
> As part of a research project at the University of Minnesota, I have been
> helping write algorithms using PyCUDA designed to be run on a GPU. I’ve run
> into a problem that I have not been able to resolve.
>
> The following error is thrown when transferring data from GPU memory back
> to CPU memory when the input matrix has dimensions larger than 1,000 x
> 1,000:
>
> pycuda._driver.LogicError: cuMemcpyDtoH failed: an illegal memory access
> was encountered
> PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
> cuMemFree failed: an illegal memory access was encountered
>
> The code executes without errors on smaller matrices and produces correct
> results. Given the relatively small matrix size, it doesn't seem like
> memory should be an issue. Have you ever seen an error like this?
>
> If it helps, the code can be found here:
> https://github.com/tyburesh/Forest/tree/tyler_branch
>
> I understand you are likely tremendously busy, so any advice or pointers
> would be tremendously appreciated. Thank you for your time.
>
> Best,
> Tyler Buresh
--
Andreas Kloeckner
Room 4318 (Siebel Center), University of Illinois at Urbana-Champaign
https://andreask.cs.illinois.edu/aboutme/
+1-217-244-6401

_______________________________________________
PyCUDA mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]

signature.asc (849 bytes) Download Attachment