Ananth Sridharan
2015-03-30 16:46:42 UTC
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 deviceI have a simulation code which requires the use of multiple kernels. Each
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 devicefunctions. Can someone help me out?
(I'm a pyCuda novice, and have basic working knowledge of
cuda-c/cuda-fortran)Ananth