Hello,

I noticed in the pycuda documentation that it is possible to pass
command-line parameters to nvcc for compilation of source modules.  My
question is whether it is possible to use the -deviceemu flag to have a
source module run in emulation mode?  If so, what would be the syntax for
the source module, maybe using this as an example:

mod = drv.SourceModule("""
__global__ void multiply_them(float *dest, float *a, float *b)
{
  const int i = threadIdx.x;
  dest[i] = a[i] * b[i];
}
""")



Brad Zima
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to