I have a pointer to shared memory which I access. I am sometimes bound to have it cast to a generic pointer for some particular reasons. As far as I know different instructions are used for accessing the memory given whether the pointer is a generic pointer or a shared memory pointer.
My questions are.
Will there be any performance difference while accessing the data if it is converted to generic pointer even though the data is still in shared memory ?
If it is converted to generic memory pointer will the broadcasting of shared memory still take place when all the threads in a warp try to access the same data simultaneously ? (if not it is a big loss for me)