Ananth Sridharan <ana...@umd.edu> writes: > Can someone shed some light on the arguments for the "prepare" used by > pycuda? I have been unable to find a set of examples to help understand > what the arguments are supposed to look like. > > On the official website, > http://documen.tician.de/pycuda/tutorial.html?highlight=prepare > what does the argument "P" stand for? In another example, I found someone > using "PiPi" - what is the prepare statement supposed to be for, say, a > kernel that looks like this.. > > __global__ dosomething(float *a, double *b, float *c, int nmax) > > is it supposed to be func.prepare("fdfi"), or did I not understand the > concept correctly?
This page defines the format: https://docs.python.org/2/library/struct.html Andreas
signature.asc
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda