1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00
Commit Graph

363 Commits

Author SHA1 Message Date
jsteube
c59b4bffd5 Add note on how to get CUDA running on WSL2 2023-09-27 08:14:51 +00:00
jsteube
0d0a07012c Do not show HIPRTC notice if HIP is not installed. In that case we can assume the system doesn't have an AMD GPU 2023-09-26 08:52:46 +00:00
Rosen Penev
ae07d65f34 clang-tidy: remove useless casts
Now that const was fixed, pointless casts can be removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 21:10:34 -07:00
Rosen Penev
795674c939 fix some const-qual warnings
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 20:55:54 -07:00
Rosen Penev
a59e030d7f
fix MinGW compilation
HC_API_CALL needs to be placed not just on the declaration.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-11 23:16:27 -07:00
jsteube
96b05b2630 AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (23.7.2 or later) and "AMD HIP SDK" (23.Q3 or later) 2023-08-05 15:58:22 +00:00
justpretending
b2f14f2f5d Fix some typos 2023-07-27 23:11:55 +07:00
jsteube
ab932815ea Fixed out-of-boundary read in autotune.c when a fast hash defines a kernel_loops_min value that is higher than the actual number of amplifiers provided by the user 2023-07-04 09:40:39 +00:00
Gabriele Gristina
ef81520158 Metal Backend: disable Metal devices only if at least one OpenCL device is active 2023-06-14 21:11:42 +02:00
Jens Steube
32517211a5
Merge pull request #3760 from matrix/check_invalid_kern_type
do not allow negative kern_type
2023-06-14 03:25:35 +02:00
Gabriele Gristina
eb276f12f6 do not allow negative kern_type 2023-06-07 21:06:57 +02:00
Gabriele Gristina
737989b7cf Metal Backend: allow use of devices with Metal if runtime version is >= 200 2023-06-07 01:17:30 +02:00
Gabriele Gristina
36606addac Help: show supported hash-modes only with -hh 2023-05-01 17:38:42 +02:00
jsteube
6785a32e7a Added new feature (-Y) that creates N virtual instances for each device in your system at the cost of N times the device memory consumption 2023-04-16 12:04:34 +00:00
Jens Steube
b1ca2ca539 Only try to allocate memory on a opencl device if it actually has memory 2023-04-11 10:17:32 +00:00
jsteube
6ad36db9ba Add some detailed information/warnings about dropped HIPRTC symbols in the current AMD Adrenalin driver 2023-03-29 20:16:36 +00:00
Dávid Bolvanský
29a461cb51
Respect quiet flag when printing Metal API warning
Fixes https://github.com/hashcat/hashcat/issues/3624
2023-03-28 00:05:46 +02:00
Royce Williams
ebe8741000 link to driver FAQ on CUDA failure 2023-03-07 12:27:30 -09:00
beschio
69a945ea75
fix Metal API advice 2023-02-04 22:47:10 +01:00
jsteube
3390159bb2 AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 exactly) 2023-01-04 08:36:37 +00:00
jsteube
c6a7826d12 Do not show metal disabled warning in backend information mode 2023-01-03 13:59:59 +00:00
jsteube
9651d3025c Fix error in backend.c if compiling on macOS 2022-12-31 16:04:35 +00:00
jsteube
b7925f1149 Add warning about automatically disabled Metal devices 2022-12-29 19:37:56 +00:00
jsteube
b228816067 Fix some missing newlines 2022-12-28 18:28:30 +00:00
Gabriele Gristina
15d74b7c1c Disable Metal < 200, commented unused and deprecated code 2022-12-08 18:59:34 +01:00
Gabriele Gristina
0f63294b8a Allow using Metal < 300 with --force 2022-12-08 17:37:50 +01:00
Jens Steube
a7dbd73612 Add Radeon Pro W5700X to more scrypt based hash-modes and fix some metal issues 2022-11-26 13:32:33 +01:00
Jens Steube
47b49d81de Prepare fixes to enable scrypt cracking on macOS 13 2022-11-24 22:46:03 +01:00
Jens Steube
18fcf28d64 Apple Driver: Automatically enable GPU support on Apple OpenCL instead of CPU support
Apple Driver: Updated requirements to use Apple OpenCL API to macOS 13.0
2022-11-20 14:27:16 +01:00
jsteube
9a52ee6d01 Fix error message in backend.c and add missing new hash-mode entries in changes.txt 2022-11-18 09:47:17 +00:00
Jens Steube
66b22fa644 Add support for Metal > 300 and reject support for older version 2022-11-16 14:26:54 +01:00
Jens Steube
8f0d69ea9c Always assume 8 compute unit for metal GPUs 2022-11-09 16:09:57 +01:00
Jens Steube
6d5d9a266f AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 or later) 2022-11-05 12:56:36 +01:00
Jens Steube
b8dd806944 Revert accidental removal of check to backend_devices_cnt 2022-11-01 19:39:03 +01:00
Jens Steube
eaf3de164b Remove option "-flegacy-pass-manager" if HIP backend is used. Support was removed from LLVM 15. There's no alternative option available.
Fixes #3469
2022-11-01 19:36:03 +01:00
pelle
f456973928 Added error message describing workaround when detecting more than 64 backend devices. 2022-10-27 12:09:37 +02:00
Jens Steube
5aaf8e2c42 AMD Driver: Updated requirements for AMD Linux drivers to "AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 exactly)
2022-08-30 10:12:26 +02:00
Jens Steube
78ee811fa9 Use -flegacy-pass-manager for -m 501, -m 1600 and -m 6300 on AMD HIP for massive speed improvement 2022-08-12 16:20:14 +02:00
Jens Steube
3d898c5daf AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.2.1 or later due to new HIP interface 2022-08-10 19:19:34 +02:00
Jens Steube
a841af000f Fix updated HIP version handling 2022-04-22 13:28:33 +02:00
Jens Steube
4791cca0aa AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.1.1 or later due to new HIP interface
AMD Driver: Updated requirements for AMD Windows drivers to Adrenalin 22.3.1 or later due to new HIP interface
2022-04-19 13:02:51 +02:00
Jens Steube
9a8f3ebcab Update HIP version check on Linux and Windows 2022-04-18 18:07:40 +02:00
Jens Steube
c916ae821d Fix HIP include folder usage on Windows 2022-04-16 18:32:21 +02:00
philsmd
a24d723d66
minor code style fixes 2022-03-31 19:19:16 +02:00
philsmd
b51f536ac5
sanity check for u32 cast for combs_cnt, bfs_cnt 2022-03-13 14:41:34 +01:00
philsmd
5d9d3c7eb7
sanity check for u32 cast for combs_cnt, bfs_cnt 2022-03-13 14:25:09 +01:00
philsmd
cd33a8a200
fixes #2560: mention "main driver" within the error message 2022-03-09 18:15:54 +01:00
Will Crozier
edf7365cda stdout mode: transfer indexes and compressed pw buffer from device in blocks, reducing overhead 2022-02-25 16:35:55 +00:00
Jens Steube
e9cb796528
Merge pull request #3186 from willcrozi/opencl-include-quoting
Improve handling of whitespace in kernel compiler include-path
2022-02-24 17:50:13 +01:00
Will Crozier
919ad5a1fd warn/skip for AMD devices on Linux when OpenCL/HIP include-path has spaces 2022-02-20 20:14:57 +00:00