Hi!
Can I access the same buffer on the same device from two different processes provided that they can exchange information about the created contexts, kernels etc...?
Thanks!
Atmapuri
I have also been wondering about this, particularly in regard to the CL-GL sharing. I would like to process on a GPU in one process, and let a separate process do drawing from that calculation at different times.
I need this capability for the purpose of a debugger in a third party IDE.
Originally posted by: Atmapuri Hi!
Can I access the same buffer on the same device from two different processes provided that they can exchange information about the created contexts, kernels etc...? Thanks! Atmapuri
I guess it should work as long as you have information about context, kernels, memobjects. It would be great if you share your experience here.
My inclination is to think it will not work. Two separate processes would not share memory, and hence would not share dll state. If they didn't share DLL state then you'd be sharing across two different instances of the runtime which wouldn't be maintaining any of the internal data structures you'd need.
You can certainly do it across threads, or processes with a thread-like level of sharing.