Results 1 to 2 of 2

Thread: Shared OpenCL buffers between processes

  1. #1
    Junior Member
    Join Date
    Oct 2010

    Shared OpenCL buffers between processes


    Is there any way to share OpenCL buffers between processes, that is for instance:

    - allocate a buffer with clCreateBuffer with a memory region on the GPU

    - send the resulting cl_mem object to another process

    - use the cl_mem object from the second process to access the same memory region in the GPU.

    Thanks in advance.

    Stéphane Letz

  2. #2
    Senior Member
    Join Date
    May 2010
    Toronto, Canada

    Re: Shared OpenCL buffers between processes

    There is no standard way to share data across different processes. The spec only covers multi-threaded applications.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. OpenCL conflict on shared workstation
    By sean.settle in forum OpenCL
    Replies: 1
    Last Post: 10-12-2011, 02:37 PM
  2. Share OpenCL buffers between processes
    By sletz in forum Suggestions for next release
    Replies: 1
    Last Post: 10-12-2010, 09:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts