We plan to support FP16 datatype especially for VPU acceleration on DML. After investigation, I found the https://learn.microsoft.com/en-us/windows/win32/dxcore/dxcore-source-code gives an example using dxcore to enumerate the devices (including GPUs and VPU), and it works. All of the available devices will be in the list:
// From the factory, retrieve a list of all the Direct3D 12 Core Compute adapters. winrt::com_ptr<IDXCoreAdapterList> d3D12CoreComputeAdapters;
But how to select the correct device VPU from the list is not clear. Do you know any flags/preferrence/properties that can indicate which device is VPU?
Any suggestions? Thanks a lot! @fdwr
Sorry to bother you too early, please ignore this question temporarily, I will try FP16 on GPU firstly. @fdwr . We can discuss for VPU in WebNN-DirectML Teams Channel in the future.
We plan to support FP16 datatype especially for VPU acceleration on DML. After investigation, I found the https://learn.microsoft.com/en-us/windows/win32/dxcore/dxcore-source-code gives an example using dxcore to enumerate the devices (including GPUs and VPU), and it works. All of the available devices will be in the list:
// From the factory, retrieve a list of all the Direct3D 12 Core Compute adapters. winrt::com_ptr<IDXCoreAdapterList> d3D12CoreComputeAdapters;
But how to select the correct device VPU from the list is not clear. Do you know any flags/preferrence/properties that can indicate which device is VPU? Any suggestions? Thanks a lot! @fdwr