passing pointers using driver API

Hi!
I allocate memory using cuMemAlloc and need to pass it to a kernel as a parameter via driver API.
The problem is that sizeof(Cudriverptr) == 4 but inside of device sizeof(float*) == 8. So i am unable to copy the pointer through cuSetParam*. How should i pass that pointer?

Thanks in advance,
Michal.