-
Notifications
You must be signed in to change notification settings - Fork 48
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 #494
windows support #494
Conversation
HSA is Linux only, the equivalent tech on the windows side is called amdpal (I think?) |
E.g. https://github.com/GPUOpen-Drivers/pal The question is: Can we avoid HSA completely and just use HIP? |
Crazy... That seems like a bigger project then, since the current AMDGPU.jl seems to heavily rely on HSA for lots of functionality, or does it just look like that?
That seems pretty essential to the package :D |
Actually the only place where we directly use HSA is the HostCall implementation, which is not needed for the most part. |
Also, did you manage to get anything working? Last time I tried ROCm 5.5+ it was complaining about LLVM opaque pointers, so I was going to deal with that first and then move on to Windows support |
I'm really unfamiliar with the whole stack & code base, so not sure where to start if init fails without HSA... If you give me an MWE without HSA I can try if it works with hip only |
dont't we need miopen for this to work? As far as i know miopen isn't avalable on windows |
For the first layer of support? No. If you want to use Flux on AMD then yes. |
The first think to look at is The first important step is to compile "a kernel", and to be able to allocate memory and then launch the kernel. |
any updates here? |
I have a somewhat working private branch which I'll push a bit later. There are couple things left to do though. Also I don't see if there is an equivalent to |
@pxl-th i don't know for windows is neccesary. On windows rx 7900xtx is officialy supported |
Superseded by #542. |
This is a very hacky work in progress for windows support!
This finds most libraries, but I'm not sure which dll contains
hsa_init
...From googling, i got the impression that it may be in
amdhip64.dll
(https://docs.amd.com/projects/HIP/en/latest/how_to_guides/debugging.html), but that doesn't find the symbols.Seems like AMD hip/hsa works quite differently on windows ;)
Any pointers appreciated what to try next!