ID3D11DeviceX::SetGpuMemoryPriority Method

Sets the priority of non-coherent GPU memory traffic vs. other traffic such as CPU, Audio, and IO device traffic.

Syntax

public:
HRESULT SetGpuMemoryPriority(
         UINT Priority
)  

Parameters

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.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Remarks

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.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members