I read the sample Kernels in the current ATI Stream SDK, but I can´t seem to figure out how to access vector elements (like .x and so on) if I pass a pointer to a vector to a function defined in a kernel.
Let´s say the function receives a pointer as uint4 *pVec and got it passed via &Vec. How can I access the elements in the sub-function? *pVec->x throws an error.
Thanks for your help,
Dia