Results 1 to 2 of 2

Thread: Accessing single GPU buffer using multiple CPUs with MPI

  1. #1
    Join Date
    May 2013

    Accessing single GPU buffer using multiple CPUs with MPI

    Dear all,

    My platform has one processor with 4 cores, and a single GPU. The application I am running is using MPI, and I would like to modify it to use also the GPU. Is it possible to create a buffer on the GPU that could be accessed by all CPUs (even if it cannot be done simultaneously)? All I need is to collect parts of a large matrix distributed among the CPUs into the GPU buffer, do some computations with GPU, and then distribute parts of the GPU result buffer to the CPUs. This would allow to avoid creating additional buffers on CPU and redundant MPI synchronization. Any advice is welcome.

    Thank you.

    Best regards,


  2. #2
    Senior Member
    Join Date
    Oct 2012
    Have a look at the specification. There is a spechial part for concurrent access to a queue and to buffers. But as long as you read different areas of the buffer and handle your events correctly everything should be fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean