Does cuda support nested function / how can I call cuda function within other

I am working within parallel algorithms using numba cuda
I want some help to know how to call a cuda (numba) function within other and the input and output will be save in shared memory