D3DFlushEntireCpuCache

Flushes the entire CPU cache using the wbinvd instruction, executed from kernel mode.

Syntax

VOID D3DFlushEntireCpuCache()  

Return value

Type: VOID 

Returns nothing.

Remarks

Flushing the entire cache may be faster than executing long sequences of mm_clflush instructions.

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

D3D11_GRAPHICS_MEMORY_ACCESS_FLAG Enumeration