Results 1 to 3 of 3

Thread: Using External memory to copy between differing VkDevices

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2018

    Using External memory to copy between differing VkDevices

    Hi All,

    Does anybody know of any examples or blog/tutorials that show how to use the external memory system to copy between different VkDevices.
    In this cases the VkDevices are different physical devices that are different enough that they cannot appear in a device group, but related by the driver/vendor. For example an AMD Vega + Radeon 550 or an nVidia 1080 and 980.

    I would like to play with mismatched GPUs working together (i.e. CrossFire | SLI).


  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    What you're trying to do is not allowed. External memory can only be shared between `VkDevice`s whose physical devices have the exact same deviceUUID.

    What you want cannot be done without talking to CPU memory.

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2018
    So I have to use something like VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN _MEMORY_BIT_EXT to use host memory to transfer to and then from to be able to get bytes from card A to card B.

    Any good examples on using this? Or post mortums on using it?


Similar Threads

  1. Replies: 7
    Last Post: 01-06-2016, 04:37 AM
  2. Copy Memory objects
    By chanakya.sun in forum OpenCL
    Replies: 7
    Last Post: 11-24-2011, 12:21 AM
  3. How to copy global memory to local memory
    By howaidi in forum OpenCL
    Replies: 1
    Last Post: 07-20-2011, 01:45 PM
  4. copy from global memory to local memory..problem
    By phoebe0105 in forum OpenCL
    Replies: 3
    Last Post: 06-03-2010, 03:14 PM
  5. can I copy data from mainboard memory into card memory?
    By Suvcon in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-29-2001, 10:53 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
Proudly hosted by Digital Ocean