Testing HLSL with the LLVM Offload Test Suite in WSL 2

If you are a developer working with HLSL or GPU compilers you likely prefer working in Linux. You might have felt sidelined because Linux lacks a dedicated DirectX device. However, if you are on Windows, you have a powerful tool at your disposal: Windows Subsystem for Linux (WSL) 2 . Since 2020, WSL 2 has supported DirectX, exposing the DxCore ( libdxcore.so ) and D3D12 ( libd3d12.so ) APIs. This…