Thanks for the suggestions! I tried the include file option, and it works nicely. For someone who runs into the same problem later on, detailed answer here: http://stackoverflow.com/questions/11290536/passing-a-c-cuda-class-to-pycudas-sourcemodule
On Mon, Mar 30, 2015 at 12:46 PM, Ananth Sridharan <[email protected]> wrote: > > > 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 > dependencies. > > > > I'm missing the syntax (if it exists) to let the source module > containing the kernels "know" the functions in the source module containing > the device functions. Can someone help me out? > > (I'm a pyCuda novice, and have basic working knowledge of > cuda-c/cuda-fortran) > > > Ananth >
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
