I've searched through the PyCuda documentation but I can't find any
clue to how to pass a struct into a kernel. I don't mean a pointer to
a struct in global memory but a struct argument. Eg. passing data from
Python into a kernel that looks like:
struct test
{
...
};
__global__ void kernel(test x)
{
...
}
I have no problem making a struct in global memory and passing in a
pointer to it. But arguments to kernels get stored in faster memory
than global memory don't they?
--
Dan
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net