1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Added path to HIP RTC DLL provided in HIP SDK (ROCm 5.5.0) for Windows

This commit is contained in:
Mayank 2023-07-31 08:21:06 +05:30
parent 5e3222ec34
commit c77f4387ed
No known key found for this signature in database
GPG Key ID: E6C152DC5AC7027D

View File

@ -41,14 +41,14 @@ int hiprtc_init (void *hashcat_ctx)
#if defined (_WIN) #if defined (_WIN)
hiprtc->lib = hc_dlopen ("hiprtc.dll"); hiprtc->lib = hc_dlopen ("hiprtc.dll");
if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("contrib/bin/win64/hiprtc0503.dll"); if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("C:/Program Files/AMD/ROCm/5.5/bin/hiprtc0505.dll");
if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("amdhip64.dll"); if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("amdhip64.dll");
#elif defined (__APPLE__) #elif defined (__APPLE__)
hiprtc->lib = hc_dlopen ("fixme.dylib"); hiprtc->lib = hc_dlopen ("fixme.dylib");
#elif defined (__CYGWIN__) #elif defined (__CYGWIN__)
hiprtc->lib = hc_dlopen ("hiprtc.dll"); hiprtc->lib = hc_dlopen ("hiprtc.dll");
if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("contrib/bin/win64/hiprtc0503.dll"); if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("C:/Program Files/AMD/ROCm/5.5/bin/hiprtc0505.dll");
if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("amdhip64.dll"); if (hiprtc->lib == NULL) hiprtc->lib = hc_dlopen ("amdhip64.dll");
#else #else
hiprtc->lib = hc_dlopen ("libhiprtc.so"); hiprtc->lib = hc_dlopen ("libhiprtc.so");