-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows support #92
Comments
I think the reason for the error might be that my processor is not supported for "Level Zero" (based on https://github.com/intel/compute-runtime) Edit: actually the processor is supposed to be Kaby Lake (Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz 2.71 GHz) so, it must be supported. |
oneAPI.jl currently only supports Linux, sorry. |
Ah, I see... |
Apparently WSL2 just works. Native support isn't going to be happening soon, as the driver stack is entirely different. |
Will Windows be supported? |
If somebody works on that. I currently don't have such plans, but if you're a Windows user you could take a stab (e.g., figuring out if you we can compile and/or redistribute the driver, or whether and how it needs to be discovered). |
I guess I'm on the other phase of the chicken egg circle :-). |
As Tim said, WSL2 works just fine. |
Well, I use Windows because I like working in Windows and not in Linux / GNU. |
how to get started on this? |
I'd look for a oneAPI Windows example and compile it with the Intel toolchain, and inspect the generated code / resulting binary. If it uses Level Zero API calls, it should link against or dynamically open a library that provides that API; we should also discover that library in oneAPI.jl and use it instead of oneL0_jll. If it uses a different API, Windows support will be out of scope for this package. |
Looks like |
I recently managed to get oneAPI.jl working on my local WSL installation (i.e., not triggering intel/compute-runtime#663 anymore), and it seems like the package is generally working just fine, with all tests passing 🎉 Native support, where we directly interface with the driver without requiring WSL, would still be nice to have though. @el-oso is WSL a viable option for you for the time being? All it requires is |
Hi @maleadt , thanks for the update. I will test it tomorrow on my work laptop and let you know if this would be a viable option for me, at least for now. |
This seems to work reasonably, so native Windows support should be possible too. That won't include support for oneMKL etc though, so WSL will be a better option in the short term.
If you run into issues, also try the master branch of oneAPI.jl. |
Let's close this, as we have Windows support through WSL now. I'll open a separate issue to track native windows support. |
Trying
using oneAPI
Get the error:
Windows 10, Julia 1.6.2 (2021-07-14)
The text was updated successfully, but these errors were encountered: