Can we have a return type function in kernel?

I need a return function from in a kernel function from another kernel function.

Your question is unclear, consider posting relevant code that demonstrates what you are interested in.

global functions must have a return type of ‘void’, but you can transport information back to the calling host code by writing the results of the kernel back to a location indicated by a pointers passed to the global function. You can use the same method to pass information between kernels, by writing to global memory in the earlier kernel and picking up the data from that location in a subsequent kernel.

device functions can have any return type you desire.