OpenCL on Windows Subsystem for Linux

I’m trying to run OpenCL on Ubuntu 24.04 LTS in Windows Subsystem for Linux. The installer says it’s installed, but it doesn’t work. What do I have to do to get GPU OpenCL to work in WSL?