use streams and shared memory for same kernel

I would like to know if we can use streams and shared memory(dynamic) simultaneously in same kernel to obtain gain.If yes, what parameters must be passed during kernel launch.Any example would help.
Thanks in advance.

There are several different concepts that can be described as “streams” and “shared memory”. Can you be more specific? Are you talking about cuda-level streams and shared memory? Standard unix IPC mechanisms? Something else?