Microsoft just gave Linux on Windows 10 a major upgrade

WSL GPU Support
(Image credit: Microsoft)

Microsoft is bringing graphics processor support to Linux on Windows 10 through its Windows Subsystem for Linux (WSL) and now Nvidia, Intel and AMD have announced their support for the effort as well.

Back at Build 2020, the software giant revealed its plans to add a full Linux kernel to Windows 10 with the release of version 2 of WSL and the company also now plans to support Linux GUI apps that can run alongside regular Windows apps. By adding GPU support to WSL, Microsoft aims to bring the performance of applications running in WSL 2 closer to those running on Windows.

Program manager for the Windows API Platform Team, Clarke Rahrig explained in a blog post that GPU compute support is the most requested feature among WSL users, saying:

“Adding GPU compute support to WSL has been our #1 most requested feature since the first release. Over the last few years, the WSL, Virtualization, DirectX, Windows Driver, Windows AI teams, and our silicon partners have been working hard to deliver this capability.” 

GPU support for WSL is now available in the Dev Channel preview of Windows 10 build 20150. The 20150 update adds support for GPUs from Nvidia, AMD and Intel as well as Nvidia's CUDA parallel computing platform and Microsoft's Direct ML (Direct Machine Learning) API.

Machine learning workloads

At its virtual Build 2020 conference, Microsoft revealed that it has been using its DirextX APIs to bring GPU hardware acceleration to Linux-based machine learning workloads running on WSL 2. The company even created a custom DirectX-based Linux GPU kernel driver called dxgkrnl Linux Edition for WSL 2's Linux kernel and it also works with Microsoft's Hyper-V.

Microsoft believes Nvidia's CUDA platform will help enhance machine learning training on WSL and that is why the two companies have partnered to launch a preview of CUDA for WSL 2. The preview supports existing machine learning tools, libraries and popular frameworks including PyTorch and TensorFlow. At the same time, Microsoft has released a preview of TensorFlow with DirectML that it plans to open source in a few months.

VP of Computing Software Platforms at Nvidia, Chris Lamb explained that Windows users will now have access to more accelerated workloads thanks to CUDA for WSL 2, saying:

“Accelerated computing is essential for modern AI and data science, while users want the flexibility to wield this power wherever their work takes them. With CUDA on NVIDIA GPUs in the Public Preview of the Windows Subsystem for Linux 2, a new class of proven, accelerated workloads is available to Windows users.”

Via ZDNet

Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Pro
Hands typing on a keyboard surrounded by security icons
Outdated ID verification myths put businesses at risk
China
Chinese hackers targeting Juniper Networks routers, so patch now
Google Meet create custom backgrounds
More AI features are coming to Google Workspace
Mac Studio on a desk
I compared Apple's Mac Studio M3 Ultra with 10 Windows workstations and I am truly shocked by what I found
Google Chrome dark mode
Google updates Chrome extension rules to ban affiliate link injection without user action or benefit
Abstract image of robots working in an office environment including creating blueprint of robot arm, making a phone call, and typing on a keyboard
This worrying botnet targets unsecure TP-Link routers - thousands of devices already hacked
Latest in News
Google Gemini Robotics
Gemini just got physical and you should prepare for a robot revolution
Lilo & Stitch Official Trailer
Stitch crashes into earth and steals our hearts with the first trailer for the live-action Lilo & Stitch
GTA 5
GTA Online publisher Take-Two is gunning for a black market that’s basically heaven for cheaters
Y2K cast looking shocked
Y2K has a streaming release date on Max, so you can witness the technology uprising at home
The Discovery+ homepage
Discovery+ just got a big update to its streaming app that makes it more like Max – here are 5 great new features to try
Two Android phones on a green and blue background showing Google Messages
Struggling with slow Google Messages photo transfers? Google says new update will make 'noticeable difference'