DXGI_COMPUTE_PREEMPTION_GRANULARITY enumeration

Identifies the granularity at which the graphics processing unit (GPU) can be preempted from performing its current compute task.

Syntax


typedef enum  { 
  DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY    = 0,
  DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY      = 1,
  DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY  = 2,
  DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY        = 3,
  DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY   = 4
} DXGI_COMPUTE_PREEMPTION_GRANULARITY;

Constants

DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY

Indicates the preemption granularity as a compute packet.

DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY

Indicates the preemption granularity as a dispatch (for example, a call to the ID3D11DeviceContext::Dispatch method). A dispatch is a part of a compute packet.

DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY

Indicates the preemption granularity as a thread group. A thread group is a part of a dispatch.

DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY

Indicates the preemption granularity as a thread in a thread group. A thread is a part of a thread group.

DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY

Indicates the preemption granularity as a compute instruction in a thread.

Remarks

You call the IDXGIAdapter2::GetDesc2 method to retrieve the granularity level at which the GPU can be preempted from performing its current compute task. The operating system specifies the compute granularity level in the ComputePreemptionGranularity member of the DXGI_ADAPTER_DESC2 structure.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

DXGI1_2.h

See also

DXGI_ADAPTER_DESC2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft