microsoft / microsoft/OpenCLOn12
[QUESTION] Use with wsl2?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 130
- Forks
- 19
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
The README.md shows build instructions on the windows side, but I'm unclear if/how to use this from wsl2. Our goal is to run an opencl app on nvidia hw. Any more guidance?
- once built, do we need to move the generated files anywhere, on the windows host or ubuntu guest side?
- currently on our linux-native side we assume a nvidia driver +
apt-get install ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-headers
- currently on our linux-native side we assume a nvidia driver +
- does this change how we need to install/link opencl headers?
- currently we do variants of https://github.com/mikeseven/node-opencl/blob/c059fee1fea1fb417c7e5b30fac78001826efb5e/binding.gyp#L44
- are there tickets we should track for wsl2 + mesa integrations?
Blogposts suggest all this will be upstreamed to mesa, but I'm guessing for now, we should be doing something more manual along the lines of the above questions..
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read README.md and the existing Windows build instructions first; verify how generated files, OpenCL headers, and linking behave between the Windows host and Ubuntu WSL2 guest. Check the project's Mesa and WSL2 tracking context, then document the supported setup and any required manual steps for running an OpenCL app on NVIDIA hardware.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- computer-graphics, documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100