microsoft / tensorflow-directml

Fork of TensorFlow accelerated by DirectML
Apache License 2.0
457 stars 32 forks source link

Link with D3D12 and DXGI/DXCore at runtime instead of load time #338

Closed jstoecker closed 3 years ago

jstoecker commented 3 years ago

This change removes the load-time dependencies on D3D12, DXGI (Windows), and DXCore (WSL); they are now loaded at runtime like all other dependencies including DirectML. The primary motivation for this change is to make it easy to build the Linux wheels without having access to libd3d12.so and libdxcore.so on the build machine.