[PyCUDA] multiple source modules

2015-03-30 Thread Ananth Sridharan
Hi, I have a simulation code which requires the use of multiple kernels. Each of these kernels (global functions) needs to call a common set of device functions. To organize code better, I'd like to provide multiple source modules - one (or more) for the kernels, and one for the common

Re: [PyCUDA] multiple source modules

2015-03-30 Thread Andreas Kloeckner
Jerome Kieffer jerome.kief...@esrf.fr writes: On Mon, 30 Mar 2015 12:46:42 -0400 Ananth Sridharan ana...@umd.edu wrote: I have a simulation code which requires the use of multiple kernels. Each of these kernels (global functions) needs to call a common set of device functions. To organize