UAV Untyped Writes
Description
The metric UAV Untyped Writes represents the number of bytes written to 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:
-
Select Advanced
-
Select System Agent (SA) Configuration
-
Select Graphics Configuration
-
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 Writes transaction:
struct MyStruct
{
uint field1;
uint field2;
};
RWStructuredBuffer<MyStruct> MyStructsRW : register( u0 );
[numthreads(NUM_THREADS_PER_GROUP, 1, 1)]
void MyComputeShader(…)
{
…
//UAV Untyped Write
MyStructsRW[any_idx].field1 = 10;
…
}
NOTE
This metric is always a multiple of 64 since the Intel® HD Graphics 2500/4000 performs UAV Untyped Writes transactions in terms of 64-byte cache lines.
See Also