shared memory dynamic allocation multiple arrays in shared memory allocated dynamically ??

is it possible to allocates multiple shared memory arrays…dynamically, using the additional parameter in the kernel call ???

would be usefull if i could


size_t shared_mem_size = 4096*2;

my_kernel <<<grid, threads, shared_mem_size>>> ( )

global void my_kernel ()
extern shared arr1;
extern shared arr2;