Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/MultiGPU.h |
Include |
#include "MultiGPU.h" |
struct AFRUtils
GPU mask utilities to get information about AFR groups and siblings.
An AFR group is the set of GPUs that are working on the same frame together.
AFR siblings are the GPUs in other groups do the same kind of work on subsequent frames. For example, two GPUs that render the same view on different frames are AFR siblings.
For an 4 GPU setup with 2 AFR groups:
There are 2 GPUs per AFR group. 0b1010 and 0b0101 are the two groups.
Each GPU has 1 sibling. 0b1100 and 0b0011 are siblings.
Name | Description | ||
---|---|---|---|
|
GetGPUMaskForGroup ( |
Gets the GPU mask including all GPUs within the same AFR group. |
|
|
GetGPUMaskForGroup ( |
Gets the GPU mask including all GPUs within the same AFR group(s). |
|
|
GetGPUMaskWithSiblings ( |
Gets the GPU mask including all siblings across all AFR groups. |
|
|
GetGPUMaskWithSiblings ( |
Gets the GPU mask including all siblings across all AFR groups. |
|
|
GetGroupIndex ( |
Gets the AFR group index for a GPU index. |
|
|
GetIndexWithinGroup ( |
Gets the index of a GPU relative its AFR group. |
|
|
GetNextSiblingGPUIndex ( |
Gets the next AFR sibling for a GPU. |
|
|
GetNextSiblingGPUMask ( |
Gets a mask containing the next AFR siblings for a GPU mask. |
|
|
GetNumGPUsPerGroup() |
Gets the number of GPUs per AFR group. |
|
|
GetPrevSiblingGPUIndex ( |
Gets the previous AFR sibling for a GPU. |
|
|
GetPrevSiblingGPUMask ( |
Gets a mask containing the previous AFR siblings for a GPU mask. |