How send a CUfunction to another process at runtime

In my project, I need to send a device function to another process(through IPC) at runtime, but the Type(CUfunction) is a pointer, couldn’t pass it. I know when “cuLaunchKernel”, the parameter of “cuLaunchKernel” – func (as binary form) will send to GPU, if there is some way that I also can send the binary form function to another process? or there is some way to get the size of the function so I can pass the function.

An application in another process cannot use a function it has not been linked against.

There is no IPC mechanism in CUDA to transfer a function or function pointer.