On Thu, 2 Jun 2011 12:28:03 -0400, Anthony LaTorre <tlatorre9(a)gmail.com> wrote:
I noticed in the test source code that kernel functions are called
keyword *texrefs* containing a list of texture references; my code seems to
be unaffected whether I include this keyword argument or not. What is the *
texrefs* keyword argument used for?
That's a great question. I just removed all the 'texrefs' arguments from
PyCUDA's test code, and everything still works, as you indicate. What
the 'texrefs' argument does is call cuParamsetTexRef, whose
documentation  makes it sound like calling it is necessary. But it
appears that that's not really true. For lack of better documentation
(anyone know of anything better?), I can't tell what the 'officially
correct' way is.