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
Integrate ZLUDA for AMD CUDA brute #3948
Comments
I saw this, but it doesn't appear that it will work for us out of box. If we are going to try and use it, I suspect that it will take some work to integrate it as another backend. |
So far, HIP is working, but performance isn't consistent b/w platforms (Slower on Windows than OpenCL, opposite in Linux) |
HIP is not working on Windows 11 23H2 running a Radeon 7900 xtx
|
It is working. You need to install HIP SDK 5.7 from the AMD ROCm suite. The PR for the implementation of HIP RTC detection at runtime is yet to be merged with the main branch.
|
When will this be merged? Even with the HIP SDK installed, this is what I get. PS C:\Hashcat\hashcat-6.2.6> ./hashcat.exe -I hiprtcCompileProgram is missing from HIPRTC shared library. OpenCL Info:OpenCL Platform ID #1 Backend Device ID #1 Backend Device ID #2 |
that is because you're using release binary, which only supports HIP SDK 5.5 for now |
Great! I see all checks have passed. Any idea when it will be merged to the main? |
Some issues related to MSYS2 compilation exist, which are rendering AMD GPUs unsupported at run. Apart from that, it's all good to go. |
I cloned your repo and compiled as per the instructions in the readme. No joy. MSYS ~/hashcat hiprtcCompileProgram is missing from HIPRTC shared library. :1:20: error: invalid operand for instruction
|
That is the issue. MSYS2 compilation is broken. The one I used was cross compiled using mingw64 on Linux. |
I will try two things tomorrow to confirm.
|
I have tried the first, but it doesn't work. |
I was able to compile within the Ubuntu WSL, but it still is not working. HIP is installed! ./hashcat.exe -I hiprtcCompileProgram is missing from HIPRTC shared library. Support for HIPRTC was dropped by AMD Adrenalin Edition 22.7.1 and later. Please install the AMD HIP SDK OpenCL Info:OpenCL Platform ID #1 Backend Device ID #1 Backend Device ID #2 |
Your hashcat reports Are you sure you checked out the correct branch for the build?? This is the repo you need to clone and then checkout git clone https://github.com/mostwanted002/hashcat.git
cd hashcat
git checkout hip_rtc_windows_env_implementation
make win |
Ah. I see where the problem was. I failed to perform the checkout. I also followed the install steps in BUILD_WSL.md which was overkill in this instance. Now that I have recompiled with the checkout, it seems to be working. I will try to run some hashes later tonight to ensure that the GPU is invoked. PS C:\hashcat> ./hashcat.exe -I The device #3 specifically listed was skipped because it is an alias of device #1 The device #4 specifically listed was skipped because it is an alias of device #2 HIP Info:HIP.Version.: 5.7.32000 Backend Device ID #1 (Alias: #3) Backend Device ID #2 (Alias: #4) OpenCL Info:OpenCL Platform ID #1 Backend Device ID #3 (Alias: #1) Backend Device ID #4 (Alias: #2) |
One more question. Any idea why I can no longer see the CPU? PS C:\hashcat> ./hashcat.exe -I The device #3 specifically listed was skipped because it is an alias of device #1 The device #4 specifically listed was skipped because it is an alias of device #2 HIP Info:HIP.Version.: 5.7.32000 Backend Device ID #1 (Alias: #3) Backend Device ID #2 (Alias: #4) OpenCL Info:OpenCL Platform ID #1 Backend Device ID #3 (Alias: #1) Backend Device ID #4 (Alias: #2) |
Describe the feature
@Chick3nman, hi
https://github.com/vosen/ZLUDA
it can give higher speed on amd video cards if cuda code is optimized
The text was updated successfully, but these errors were encountered: