Sets the priority of non-coherent GPU memory traffic vs. other traffic such as CPU, Audio, and IO device traffic.
public:
HRESULT SetGpuMemoryPriority(
UINT Priority
)
Priority
Type: UINT
[in] The priority of non-coherent GPU memory traffic vs. other traffic such as CPU, Audio, and IO device traffic.
The default priority is 5. The highest priority is 10. Priorities 0 through 4 are currently unsupported.
Type: HRESULT
One of the Direct3D 11 return codes.
This method sets the priority of non-coherent GPU memory traffic vs. other traffic such as CPU, Audio, and IO device traffic. Setting the GPU memory priority higher than default may help titles that are bound by GPU workloads that are memory-intensive.
The GPU memory priority doesn’t affect GPU ESRAM transactions, because the GPU already has exclusive access to ESRAM. The GPU memory priority returns to default whenever the title is suspended, constrained, or whenever an SRA application is snapped. The GPU memory priority will automatically return to the chosen value when the title is resumed or when the SRA application is unsnapped.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.