[PyCUDA] cuCtxSynchronize failed

2009-12-04 Thread Peter Schmidtke
Dear pyCuda mailing list readers, I am aware that this question is rather directly CUDA related, but as I use pycuda, I just wanted to try if someone had similar problems already. The error I get : Traceback (most recent call last): File stdin, line 1, in module File

Re: [PyCUDA] Question about gpuarray

2009-12-04 Thread Michael Rule
I just did this ... my solution was to malloc a large GPUarray, then construct pointers to within this region. GPUarrays made from these pointers pass in the master array as the base. I think what I was trying to do is better served by slice notation however. Previously I was not certain what a

Re: [PyCUDA] Question about gpuarray

2009-12-04 Thread Andreas Klöckner
On Freitag 04 Dezember 2009, Bryan Catanzaro wrote: Thanks for the explanation. In that case, do you have objections to removing the assertion that if a GPUArray is created and given a preexisting buffer, that the new array must be a view of another array? In my situation, I don't think