contexts + host threads


is it possible to have one context attached to several host threads?
The background is, that I want to built some kind of pipeline, where data is copied once to the device and then a device pointer is passed from one host thread to another. It would be nice to have several host threads sharing the same address space.

Does someone know if this is possible?

Only through the thread migration API, which implies using the driver API.

I’m already using the driver api.

Perhaps I should be a bit more precise:
Is it possible to attach multiple host threads to the same context at the same time or do I have to release the context before it can be used in another thread? And how would that work, using cuCtxAttach() or cuCtxPushCurrent()?
The programming guide is really short concerning Context Management.

Thanks in advance.