ID3D11DeviceX::ReportGpuHang Method

Allows a title to manually trigger the GPU hang logic and GPU hang analysis if the title detects a GPU timeout.

Syntax

public:
void ReportGpuHang(
         UINT Flags
)  

Parameters

Flags
Type: UINT 

[in] Flags to control GPU hang reaction, as a bitwise-OR’d combination of D3D11X_REPORT_GPU_HANG_FLAGS enumeration constants.

Pass 0 to perform GPU hang analysis and warm-reboot the console.

Pass D3D11X_REPORT_GPU_HANG_DO_NOT_REBOOT to perform GPU hang analysis, without triggering a reboot.

Return value

None.

Remarks

Contexts with fast semantics, such as compute and DMA contexts, do not normally give the driver an opportunity to detect GPU timeouts automatically, because timeouts are typically detected as part of synchronization primitives.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members