GPGMM icon indicating copy to clipboard operation
GPGMM copied to clipboard

Add support for MCDM/DXCore devices.

Open mingmingtasd opened this issue 3 years ago • 4 comments

We need DXCore to enumerate VPU device, so should we replace IDXGIAdapter with IDCoreAdapter? wdyt? @bjjones @bbernhar @junwei

mingmingtasd avatar Nov 02 '22 05:11 mingmingtasd

In my brief research it looks like IDXCoreAdapter and IDXGIAdapter are not directly interchangeable. This would require us to use slightly different functions internally for residency management.

Any comments @bbernhar? Is VPU support in the scope of GPGMM? I'm not sure if there's another reason someone would use DXCore over DXGI.

bjjones avatar Nov 04 '22 19:11 bjjones

I'm supportive and I think it fits with the overall architecture and direction of the project (DXCore backend). @bjjones Can I assign you to dig into this?

bbernhar avatar Nov 04 '22 23:11 bbernhar

Thanks for support, I think DXGI still is our focus to integrate into Chromium for GPU device, VPU is a longer term plan to support as you changed the title of issue.

fujunwei avatar Nov 07 '22 01:11 fujunwei

Thanks for support, I think DXGI still is our focus to integrate into Chromium for GPU device, VPU is a longer term plan to support as you changed the title of issue.

Yes, agree. Just propose this here, we should consider supporting DXCore in the near future, maybe both support DXGI/DXCore currently by flag to select (for example, ENABLE_DXCORE= false by default) as onnx-runtime.

mingmingtasd avatar Nov 07 '22 01:11 mingmingtasd