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

2020-03-01 Thread Fabio da Silva
Ok, the error from the previous message is because, on line 249, the argument of glutCreateWindow has to be b"PyCuda GL Interop Example" (notice the b before the ") instead of "PyCuda GL Interop Example". After that, there was an issue related to the cl.exe and nvcc.exe compilers for MSVC and

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

2020-03-01 Thread Fabio da Silva
Ok, I got it to work. Basically, the new build resides in a subfolder named:build\lib.win-amd64-3.7 I then copied the pycuda folder and placed in my Miniconda lib folder:Miniconda3\Lib\site-packages I had to rename the current pycuda folder with pycuda.old to make sure I could revert. When I

[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 >

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

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] 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

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
Hello, Testing the gl_interop.py example. See my specs: [gse...@ccn release]$ ./deviceQuery CUDA Device Query (Runtime API) version (CUDART static linking) There is 1 device supporting CUDA Device 0: Quadro NVS 135M CUDA Capability Major revision number: 1 CUDA Capability Minor

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