microsoft / graphics-driver-samples

This repository contains graphics driver samples used to demonstrate how to write graphics driver for the windows platform.
Other
381 stars 135 forks source link

How to fill the GUID field of D3D12DDIARG_META_COMMAND_DESC? #101

Open devinxie opened 1 month ago

devinxie commented 1 month ago

Hi,

How to fill the GUID field of D3D12DDIARG_META_COMMAND_DESC structure?

`#if COS_MLMC_RS5_SUPPORT { MetaCommand_Normalization, L"Normalization", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_Convolution, L"Convolution", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_GEMM, L"GEMM", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_GRU, L"GRU", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_LSTM, L"LSTM", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_MVN, L"NVM", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_Pooling, L"Pooling", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_Reduction, L"Reduction", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_RNN, L"RNN", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_RoiPooling, L"RoiPooling", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }, { MetaCommand_CopyTensor, L"CopyTensor", D3D12DDI_GRAPHICS_STATE_NONE, D3D12DDI_GRAPHICS_STATE_NONE }

endif`

I didn't find the definition of ‘’MetaCommand_Normalization”. What kind of value is it and where is it defined?

Is the ‘MetaCommand_Normalization’ defined in MetaCommandDefinitions.h file? Where is the MetaCommandDefinitions.h file?

Thanks.