jsteube
e6c97eb51b
Fix vector datatypes usage for HIP
2023-06-10 19:01:35 +00:00
loukabvn
2bc70388d3
Creation of branch SM3 and adding files for basic implementation
2023-02-16 10:38:11 +01:00
Louka
12821a968b
Finishing inc_hash_blake2s and starting to write kernels
2023-02-06 15:27:07 +01:00
jsteube
f1ff925b6e
Prepare rename macros in header files from _MACRO to MACRO
2023-01-17 19:25:40 +00:00
Gabriele Gristina
b3d3b31c3e
Metal: added support for vectors up to 4
2022-02-10 21:53:08 +01:00
Gabriele Gristina
9d36245d51
Kernels: Set the default Address Space Qualifier for any pointer, refactored / updated KERN_ATTR macros and rc4 cipher functions, in order to support Apple Metal runtime
2022-02-04 19:54:00 +01:00
Jens Steube
5abda19fa8
Fix missing pws_pos refactorization in inc_types.h
2022-01-05 09:33:24 +01:00
Jens Steube
0abdcb1ae5
Rename GID_MAX to GID_CNT to avoid naming conflict with existing macro
2022-01-04 22:57:26 +01:00
Jens Steube
668d2179cd
Kernels: Refactored standard kernel declaration to use a structure holding u32/u64 attributes to reduce the number of attributes
2022-01-04 18:07:18 +01:00
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
2021-08-04 20:49:22 +02:00
Jens Steube
c9d79374a5
Add missing u64 vector datatypes mapping for OpenCL
...
Improve u64 usage in OpenCL/inc_zip_inflate.cl
2021-07-27 09:54:15 +02:00
Jens Steube
3f6c5a0042
Update module_unstable_warning() for -m 172xx on HIP
2021-07-23 21:09:55 +02:00
Jens Steube
5ffcaa980d
HIP Backend: Added support to support HIP 4.4 and later, but added check to rule out older versions because they are incompatible
2021-07-23 16:04:34 +02:00
Jens Steube
bdb7999f07
Switch HIP vector datatypes to OpenCL like ext_vector_type()
2021-07-19 20:24:30 +02:00
Jens Steube
257098a301
Get rid of hip/hip_runtime.h dependancy
2021-07-18 21:14:45 +02:00
Jens Steube
3becb253d3
Enable vector datatypes for HIP
2021-07-17 18:01:01 +02:00
Jens Steube
23c3c178bf
Limit max threads per block to 64 to enable offline compiler to make better use if available registers
...
Fix double free() for hip_event1/hip_event2 and hip_stream causes segfault
Replace hc_cuCtxSetCurrent() with hc_cuCtxPushCurrent() in order to align changes with HIP
Add vector datatype operators (if we decide to use them - currently unused)
2021-07-12 09:28:26 +02:00
Jens Steube
1b84a9e53b
Add missing backports from code base v6.2.2
...
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip
2021-07-10 21:34:09 +02:00
reger-men
ea7b74389f
First draft HIP Version
2021-07-09 03:50:40 +00:00
Jens Steube
0439f0c4a1
Refactor UTF8 to UTF16 conversion from fixed size to a dynamic size using a context struct. This allows handle buffer sizes of arbitrary length for conversion
2021-05-01 12:49:43 +02:00
Jens Steube
15f35fa68c
Scrypt Kernels: Reduced kernel wait times by making it a true split kernel where iteration count = N value
2021-04-21 15:59:14 +02:00
Jens Steube
9e474e1e83
Add support for modulus operator in vector data types
2021-03-30 21:43:27 +02:00
Jens Steube
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
Jens Steube
70ba719169
OpenCL Kernels: Added datatypes to literals of enum costants
2020-07-22 12:34:00 +02:00
Jens Steube
51ddf52369
Initialize CUDA vector datatypes to zero
2019-05-13 16:23:28 +02:00
Jens Steube
ec4d4218c0
Add some missing operators for vector types
2019-05-09 12:59:36 +02:00
Jens Steube
6b7d064118
Replace (u32x) (...) with make_u32x (...)
2019-05-08 15:21:22 +02:00
Jens Steube
54dd2ea300
Use same settings for vector datatypes in inc_types.h as seen in cuda SDK vector_types.h
2019-05-07 16:07:28 +02:00
Jens Steube
d0bd33c9d1
Rename CONSTANT_AS to CONSTANT_VK
2019-05-06 14:34:16 +02:00
Jens Steube
58213c81d6
Add vector datatypes operators
2019-04-26 22:07:56 +02:00
Jens Steube
6a32e8ef18
Fix ulong datatype on Windows x64
2019-04-26 14:11:13 +02:00
Jens Steube
9faba41848
Use nvrtc to compile PTX (resulting PTX not yet used)
2019-04-26 13:28:44 +02:00
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
2019-04-25 14:45:17 +02:00
jsteube
0a8c7fab1c
Do not use ulong. It causes the 32 bit compilation to fail
2019-03-25 21:04:21 +01:00
jsteube
fb8a9d7c40
Get rid of cpu_sha1.c
2019-03-25 14:08:59 +01:00
jsteube
e80b1838e8
Rename some functions in inc_common.cl to avoid conflicts with bitops.c
2019-03-23 22:15:38 +01:00
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
2019-03-21 23:00:38 +01:00