As title say i need to access items of two arrays from the pointers stored into another array:
unsigned long elements, *pointers;
These declaration and assignement are inside a device function.
But when i try to access items inside elements from pointers (for example with pointers) i get an MMU fault.
Everything works fine if i try to access items inside elements from A and B declared in this way:
unsigned long elements, *A, *B;
but of course i don’t need this :-/
Am i missing something ?
Thank you for answers.
P.S.: if it could help, code is compiled on win7 x64 with vs2008 and executed on a GTX460.