[PyCUDA] Re: PyCUDA OpenGL Build for Windows 10.

2020-03-01 Thread Fabio da Silva
UDA 3.0 and PyCUDA 2011.1.  pycuda_source_pbo = cuda_gl.BufferObject(long(source_pbo))pycuda-opengl-interop.py:46: DeprecationWarning: buffer_object has been deprecated since CUDA 3.0 and PyCUDA 2011.1.  pycuda_dest_pbo = cuda_gl.BufferObject(long(dest_pbo))pycuda-opengl-interop.py:100: DeprecationWarn

[PyCUDA] Re: PyCUDA OpenGL Build for Windows 10.

2020-03-01 Thread Fabio da Silva
reran and the output was: Hit ESC key to quit, 'a' to toggle animation, and 'e' to toggle cudaTraceback (most recent call last):  File "pycuda-opengl-interop.py", line 292, in     main()  File "pycuda-opengl-interop.py", line 249, in main    window = glutCreateWindow("

[PyCUDA] Re: PyCUDA OpenGL Build for Windows 10.

2020-02-25 Thread Andreas Kloeckner
Fabio da Silva writes: > Good morning, > I was wondering if there are any binaries for OpenGL enabled PyCUDA > for Windows 10. My understanding (thanks, Andreas) is that it I will > probably need to build it on my own. Since I never did that, I went > online and found some resources here >

[PyCUDA] PyCUDA OpenGL Build for Windows 10.

2020-02-25 Thread Fabio da Silva
Good morning, I was wondering if there are any binaries for OpenGL enabled PyCUDA for Windows 10. My understanding (thanks, Andreas) is that it I will probably need to build it on my own. Since I never did that, I went online and found some resources here

[PyCUDA] PyCUDA OpenGL w/multiple GPUs

2012-11-06 Thread Glaser, Eli
Hello, I'm trying to get OpenGL/CUDA interop working on multiple GPUs on a headless Linux system. It works great with a single GPU. I have a problem running with multiple GPUs and I've narrowed it down so that I see the problem when I just try to switch the GPU the single GPU version is

Re: [PyCUDA] OpenGL missing feature

2011-03-09 Thread Andreas Kloeckner
Hi Tomasz, On Tue, 08 Mar 2011 22:10:37 +0100, =?UTF-8?B?VG9tYXN6IFJ5YmFr?= bogom...@post.pl wrote: Hello. Some time ago I have sent new-style OpenGL wrapper. Don't worry, it works. But recently I have been working on new program and noticed that new-style OpenGL wrapper requires calling

[PyCUDA] OpenGL missing feature

2011-03-08 Thread Tomasz Rybak
Hello. Some time ago I have sent new-style OpenGL wrapper. Don't worry, it works. But recently I have been working on new program and noticed that new-style OpenGL wrapper requires calling separate functions when mapping buffer and surface objects. When mapping ordinary textures, they are treated

Re: [PyCUDA] OpenGL and new functions

2010-11-28 Thread Andreas Kloeckner
On Sat, 27 Nov 2010 23:20:40 +0100, Tomasz Rybak bogom...@post.pl wrote: I do not know how to force Boost::Python to allow for accepting optional argument for map(stream) function, so I changed documentation to say that stream is mandatory argument. I made the change to make that argument

Re: [PyCUDA] OpenGL and new functions

2010-11-27 Thread Tomasz Rybak
Dnia 2010-11-26, pią o godzinie 14:52 -0500, Andreas Kloeckner pisze: Hi Tomasz, I've committed your patch, with a few changes. git diff 69a355d0 master will show you what I changed. Some comments below. I'd appreciate your feedback on my changes. Thanks for your contribution,

Re: [PyCUDA] OpenGL and new functions

2010-11-26 Thread Andreas Kloeckner
Hi Tomasz, I've committed your patch, with a few changes. git diff 69a355d0 master will show you what I changed. Some comments below. I'd appreciate your feedback on my changes. Thanks for your contribution, Andreas On Wed, 24 Nov 2010 23:58:01 +0100, Tomasz Rybak bogom...@post.pl wrote:

Re: [PyCUDA] PyCUDA+OpenGL and core dump

2010-10-31 Thread Andreas Kloeckner
On Sat, 30 Oct 2010 13:04:03 +0200, Tomasz Rybak bogom...@post.pl wrote: Hello. I have been trying to create some OpenGL examples for PyCUDA and found program that segfaults. I cannot debug it fully as the last 8 functions are from NVIDIA libraries. The last known function in the trace is

Re: [PyCUDA] PyCUDA+OpenGL and core dump

2010-10-31 Thread Andreas Kloeckner
On Sun, 31 Oct 2010 16:07:29 -0400, Andreas Kloeckner li...@informa.tiker.net wrote: On Sat, 30 Oct 2010 13:04:03 +0200, Tomasz Rybak bogom...@post.pl wrote: Hello. I have been trying to create some OpenGL examples for PyCUDA and found program that segfaults. I cannot debug it fully as

Re: [PyCUDA] OpenGL and new functions

2010-10-31 Thread Andreas Kloeckner
Hi Tomasz, first of all, thanks for sending this patch! Much appreciated. Comments below. On Fri, 29 Oct 2010 19:20:17 +0200, Tomasz Rybak bogom...@post.pl wrote: The biggest problem is that IMO (I might be wrong - do not know PyCUDA to such intimate details) it introduces

[PyCUDA] PyCUDA+OpenGL and core dump

2010-10-30 Thread Tomasz Rybak
Hello. I have been trying to create some OpenGL examples for PyCUDA and found program that segfaults. I cannot debug it fully as the last 8 functions are from NVIDIA libraries. The last known function in the trace is cuda::context::detach. Error is present on GTX460 (Fermi) and ION (9400M), on

[PyCUDA] OpenGL and new functions

2010-10-29 Thread Tomasz Rybak
Hello everyone. Some time ago (2010-09-11) I volunteered for fixing PyCUDA to use non-deprecated OpenGL interoperability functions. Here is THE patch. The biggest problem is that IMO (I might be wrong - do not know PyCUDA to such intimate details) it introduces non-backward-compatible change. I

Re: [PyCUDA] OpenGl interop example

2010-03-03 Thread Andreas Klöckner
On Mittwoch 03 März 2010, Fabrizio Milo aka misto wrote: Errata corrige: Seems it can be simply None, but not 0 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, None) Fabrizio The wiki is the 'official' version of the examples, so you are

Re: [PyCUDA] OpenGL

2009-08-15 Thread Gökhan Sever
simple physical simulation ? ) On Tue, Jul 28, 2009 at 4:34 PM, Andreas Klöcknerli...@informa.tiker.net wrote: On Dienstag 28 Juli 2009, you wrote: I would also like to try to experiment with pycuda openGL, how do you get the gl_interop example working ? I get the following message

Re: [PyCuda] opengl PBOs and pycuda

2009-02-11 Thread Andreas Klöckner
On Mittwoch 11 Februar 2009, Peter Berrington wrote: Thanks a lot for working on that Andreas. I'd be more than happy to write a tutorial/example and documentation, but I wasn't able to get it working when I played around with it earlier today. I assume that I should first call import

Re: [PyCuda] opengl PBOs and pycuda

2009-02-10 Thread Andreas Klöckner
On Dienstag 10 Februar 2009, Peter Berrington wrote: I didn't see any response on the mailing list so I thought I'd ask again. Has anyone made any attempt at wrapping the cuda opengl interop functions in pycuda? I've never used boost before and I'm not sure how to proceed. I'd really like to

[PyCuda] OpenGL and polling

2009-01-30 Thread Nicholas S-A
Hi all, I have two questions about PyCUDA which I have run up against in my testing to use it for a few applications: 1) Is there any integration between PyOpenGL/PyGame and PyCUDA like there is between PyCUDA and OpenGL where VBOs can be shared on the device? 2) Can I poll the GPUs instead