How to allocate space int constant memory dynamically?

I want to allocate space in constant memory dynamically, so I use the following code:

/************************************************************/
constant int *p;

int v;
/* assign a value to v here /
cudaMalloc((void
*)&p, sizeof(int) * v);
/************************************************************/

Is that right? :whistling:
Thanks.

You cannot dynamically allocate constant memory.