Hirdetés

Keresés

Új hozzászólás Aktív témák

  • Hunork

    veterán

    válasz proci985 #38590 üzenetére

    Itt egy rövid bemutató: [link]
    Bár egyelőre a több processzormagra fókuszálnak, ami egy GPU-s rendszert feltételez, de még így is jelentős teljesítménynövekedés jön létre. Egyes angol szakmai fórumok szerint nem érdemes több GPU-s rendszerre kódolni, mert nem kiegyensúlyozott az eredmény, inkább a multi CPU + (főleg) erős GPU a cél.

    The Vulkan SDK includes an installable client driver-type mechanism that will allow your code to access multiple GPUs on a system. Even if those GPUs are from different vendors. So if you have an Intel CPU with an embedded GPU as well as a discrete AMD GPU, you can access them individually as separate devices.

    If you want to bypass the SDK and access the drivers directly, you may do so. But it will be the equivalent of bypassing OpenGL32.dll on Windows; you'll have to hunt down each driver's DLL on your own.

    How you use this ability depends entirely on you. You could have one GPU render one frame and another GPU render another. Or you could use one GPU purely for rendering while the other is used for some ancillary facilities. If there are two GPUs, each with their own screen, you will be able to render to both of them and display on both, without any cross-talk at all.

    Note that Vulkan has have a distinction between a "physical device" and a "logical device". A "physical device" is a specific piece of hardware, while a "logical device" is an interface into that hardware. So you can have multiple logical devices that access the same piece of hardware.

    The Vulkan SDK, and implementations of the API, will eventually provide a way to transfer memory from one device to another. This would be useful for using a secondary device (physical or logical) for ancillary facilities, as well as for sending a rendered image to a GPU that can display it. Note that this is not in Vulkan 1.0 at present; it's bound for a later version though.

    What Vulkan will not do is make multiple GPUs look like one GPU. That is the idea behind SLI-style multi-GPU, with the driver doing all of the heavy lifting to make two (or more) GPUs function like one. Vulkan won't do that for you; if you want to make that happen, you'll have to do the work yourself. And given the performance issues with SLI, it's probably not worth the effort.

Új hozzászólás Aktív témák