UAV Untyped Reads

Description

The metric UAV Untyped Reads represents the number of bytes read from untyped UAV (Unordered Access View) resources (that is any buffer created with the D3D11_BIND_UNORDERED_ACCESS BindFlag) from within compute and pixel shaders. The supported untyped resources include:

  • StructuredBuffer
  • Resources defined with the groupshare attribute in the shader

NOTE

On Intel® HD Graphics 2500/4000: to access this metric, you must explicitly enable the Intel® Graphics Performance Analyzers option in your BIOS settings:

  1. Select Advanced

  2. Select System Agent (SA) Configuration

  3. Select Graphics Configuration

  4. Reboot your machine

If the BIOS on your system does not include the Intel® Graphics Performance Analyzers option, update your BIOS to the latest version from Intel. After completing your performance monitoring activity, we recommend that you disable the Intel® Graphics Performance Analyzers BIOS option and reboot your machine.

Examples

A code example that will result in a UAV Untyped Reads transaction:

struct MyStruct

{

    uint field1;

    uint field2;

};

 

RWStructuredBuffer<MyStruct> MyStructsRW : register( u0 );

 

[numthreads(NUM_THREADS_PER_GROUP, 1, 1)]

void MyComputeShader(…)

{

       …

       //UAV Untyped Read

uint val = MyStructsRW[any_idx].field1;

}

NOTE

This metric is always a multiple of 64 since the Intel® HD Graphics 2500/4000 performs UAV Untyped Reads transactions in terms of 64-byte cache lines..

See Also

UAV Untyped Writes

UAV Untyped Reads