Re: [PyCUDA] Windows <--> Linux interchangeable code?

2017-06-21 Thread Eric Larson
> > Regarding the list, there's still a (non-searchable, unfortunately) > archive of the list here: > > https://lists.tiker.net/listinfo/pycuda FYI if you want to search, you can Google e.g.: site:https://lists.tiker.net/pipermail/pycuda kernel And it will search the list for "kernel". Eric __

Re: [PyCUDA] Windows <--> Linux interchangeable code?

2017-06-21 Thread Andreas Kloeckner
Benedikt, Benedikt Kopp writes: > I'm having a few problems with pycuda in combination with Ubuntu 16.04 and > cuda 8.0. > > I've tried to make a minimal working error-example that I run on both > Windows and Linux: You may notice that you're passing a numpy.int32 for the block shape. It's quite

Re: [PyCUDA] Handle Error in CUDA Kernel

2017-06-21 Thread Andreas Kloeckner
"Rana, Sanjay" writes: > PS. Another example of using a macro for handling error inside the kernel > code in C++ dev environment but am yet to see someone use it in pycuda. > > https://codeyarns.com/2011/03/02/cuda-assertion-in-kernel-code/ The in-kernel error checks boil down to printf(), which

Re: [PyCUDA] Handle Error in CUDA Kernel

2017-06-21 Thread Rana, Sanjay
Hi Andreas, PS. Another example of using a macro for handling error inside the kernel code in C++ dev environment but am yet to see someone use it in pycuda. https://codeyarns.com/2011/03/02/cuda-assertion-in-kernel-code/ Sanjay Rana | Design Directorate Rural Payments Agency | Room 200 | Nort