Gabriele Gristina
7650894e02
fixed bug in benchmark engine, updated negative status code
3 years ago
Jens Steube
dfd316c653
Merge pull request #3103 from matrix/backend_session_update_mp_rl
...
Removed hc_clSetKernelArg() call from backend_session_update_mp_rl()
3 years ago
Jens Steube
7a9a1b37d0
Merge pull request #3104 from matrix/backend_session_update_mp
...
Removed hc_clSetKernelArg() call from backend_session_update_mp()
3 years ago
Jens Steube
56ef2b4bde
Merge pull request #3102 from matrix/backend_cuda_restyle
...
CUDA Backend: moved functions to ext_cuda.c/ext_nvrtc.c and includes to ext_cuda.h/ext_nvrtc.h
3 years ago
Jens Steube
045ca5cb7a
Fixed method how OPTS_TYPE_AUX* kernels are called in association mode, for instance WPA/WPA2 kernels
3 years ago
Jens Steube
668d2179cd
Kernels: Refactored standard kernel declaration to use a structure holding u32/u64 attributes to reduce the number of attributes
3 years ago
Gabriele Gristina
994083eaf5
Removed hc_clSetKernelArg() call from backend_session_update_mp()
3 years ago
Gabriele Gristina
0f0cf1fe08
Removed hc_clSetKernelArg() call from backend_session_update_mp_rl()
3 years ago
Gabriele Gristina
f8ceb8785e
CUDA Backend: moved functions to ext_cuda.c/ext_nvrtc.c and includes to ext_cuda.h/ext_nvrtc.h
3 years ago
Gabriele Gristina
78c7ee2af6
HIP Backend: moved functions to ext_hip.c/ext_hiprtc.c and includes to ext_hip.h/ext_hiprtc.h
3 years ago
Gabriele Gristina
26b6054cab
OpenCL Backend: moved functions to ext_OpenCL.c and includes to ext_OpenCL.h
3 years ago
Gabriele Gristina
861e644057
OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon
3 years ago
Jens Steube
df6e5480ca
Print module_extra_tuningdb_block undefined compute device warning only on GPU
3 years ago
Gabriele Gristina
3fd6dac523
Set default device-type to GPU with Apple M1
3 years ago
Gabriele Gristina
0fae3a4394
Added support for Apple Silicon compute devices
3 years ago
Jens Steube
d4a54287b1
Add missing backslash for RUN_INSTRUCTION_CHECKS() on AMD
3 years ago
Jens Steube
3d53188cc3
Tuning Database: Added a warning if a module implements module_extra_tuningdb_block but the installed computing device is not found
3 years ago
Jens Steube
21f91c5bb8
Module Optimizaters: Added OPTS_TYPE_MAXIMUM_THREADS to deactivate the else branch route in the section to find -T before compilation
...
Set the new flag based on some testings with RX6900XT
3 years ago
Gabriele Gristina
9be7bc71a5
OpenCL Backend: added workaround to support Apple Silicon
3 years ago
Jens Steube
53f6693495
Temporary enable HIP 4.4/ROCM 4.5 on Linux and globally set native thread count
3 years ago
Jens Steube
f84aca82ca
Backend types: The default filter for the device types is now set so that only the GPU is used, except for APPLE, where we set CPU
3 years ago
Jens Steube
49a68cd6c1
AMD Driver: Updated requirements for AMD Linux drivers to ROCm 4.5 or later due to new HIP interface
3 years ago
Jens Steube
576a71af5c
Update minimum HIP version from 4.4 to upcoming 4.5
3 years ago
Jens Steube
756c29ec57
Add missing cleanup on windows if outdated HIP version is detected
3 years ago
Jens Steube
733f9c2d77
Add better detection future HIP 4.4
3 years ago
Jens Steube
07e58631a5
Backend devices: In non -S mode, limit the number of workitems so that no more than 4GB of host memory is required per backend device
3 years ago
Jens Steube
4b6654b503
Fix unstable plugin to driver warning
3 years ago
Jens Steube
c1fd42fe72
Reduce work item maximum in -S mode even further, tested with NTLM
3 years ago
Jens Steube
bd2cde31ae
Back-end devices: In -S mode, limit the number of workitems so that no more than 2GB of host memory is required per backend device
3 years ago
Jens Steube
4ef1509bc7
Backend Devices: Reduce maximum workitems limited derived from available host memory down from to 8GB to 4GB per backend device
3 years ago
Jens Steube
721e1ea54d
Fixed division by zero because backend_ctx->hardware_power_all was not re-inserted after refactoring device_param->hardware_power
3 years ago
Jens Steube
8c14fd85ea
POCL: Added a workaround for an issue in POCL that uses a quote character as part of the path itself given to a path for the -I option
3 years ago
Jens Steube
b4b2195fa5
OpenCL Runtime: The use of clUnloadPlatformCompiler () was disabled after some users received unexpected return codes
3 years ago
Jens Steube
85854236d1
Merge pull request #2935 from matrix/apple_gpu_workaround
...
workaround to 'clEnqueueWriteBuffer(): CL_INVALID_VALUE' with apple gpu
3 years ago
Jens Steube
50e28ff306
Merge pull request #2926 from jtojanen/master
...
Code cleanup and small fixes
3 years ago
Jukka Ojanen
6b4786de84
Make blocking clEnqueueWriteBuffer() non-blocking
3 years ago
Jukka Ojanen
f3cd32bffd
Avoid memory copy in rebuild_pws_compressed_append() and assign instead
3 years ago
Jens Steube
76e388ea47
Memory Management: Check in OpenCL that CL_DEVICE_HOST_UNIFIED_MEMORY is true and if so, then half of the available memory
...
NEO driver: Activate the NEO driver (Intel GPU) after it passed several tests in hashcat using the latest NEO driver version
3 years ago
Jens Steube
9254603960
Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
...
Now that kernel threads are no longer fixed over the entire session, hardware_power and hardware_power_all
needs to be updated the same way as kernel_power and kernel_power_all for each call to inner2_loop().
3 years ago
Gabriele Gristina
72735ed7c4
update workaround
3 years ago
Gabriele Gristina
fef18965c3
workaround to 'clEnqueueWriteBuffer(): CL_INVALID_VALUE' with apple gpu
3 years ago
Jukka Ojanen
5c0820b8d3
Assume hashconfig->tmp_size is the element size
3 years ago
Jukka Ojanen
bcb4a8f391
Add clFlush() to backend_session_update_mp() and backend_session_update_mp_rl()
3 years ago
Jukka Ojanen
3b11b51113
Remove unnecessary hc_cuEventSynchronize() call
3 years ago
Jukka Ojanen
1edb649c1f
Remove duplicate conditions
3 years ago
Jens Steube
5e1d37c82e
Make unsupported AMD HIP runtime version error message a bit more human readable
3 years ago
Jens Steube
cb69e2d413
Added some HIP version checks, fall back to OpenCL automatically
...
Switched HIP version check from driverVersion to runtimeVersion
Fixed syntax check of HAS_VPERM macro in several kernel includes causing invalid error message for AMD GPUs on Windows
Updated AMD driver requirements
Updated docs/changes.txt with missing changes from previous commits
Fixed invalid vector data type in Murmur Hash in -a 3 mode
Fixed uninitialized variable warning in src/hashes.c
Fixed broken support for --generate-rules-func-min
3 years ago
Jens Steube
b2d1f42905
Fix self-test functionality if FIXED_LOCAL_SIZE_COMP is used
...
Fix -m 25700 datatype in -a 3 mode and maximum password length in pure kernel mode
Fix -m 12500, 23700 and 23800 if password is exactly length 128
3 years ago
Jens Steube
af5d346244
Merge pull request #2894 from jtojanen/master
...
Allow async execution
3 years ago
Jens Steube
20a7b9f992
Tuning-Database: Add new module function module_extra_tuningdb_block() to extend hashcat.hctune content from a plugin
...
See src/modules/module_08900.c as an example
3 years ago