Jens Steube
89119bf24a
Add missing inc_platform.h include
6 years ago
jsteube
7c6970dbdd
Remove hard-coded static keyword from OpenCL kernels
6 years ago
jsteube
d706d19b4f
Fix some uninitialized variables
6 years ago
Jens Steube
0fb3b3c83e
Declare internal functions in OpenCL kernels as static
6 years ago
jsteube
e80b1838e8
Rename some functions in inc_common.cl to avoid conflicts with bitops.c
6 years ago
jsteube
adeeaee84a
Replace __kernel, __constant, __global and __local qualifiers with macro for better control
6 years ago
jsteube
c9d60c079f
Prepare OpenCL kernels for non-static compilation
6 years ago
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
6 years ago
Jens Steube
64dfd40113
Give the compiler a hint for automatic optimizations based on password length
6 years ago
Jens Steube
6d39fb1feb
Make all kernel parameter macro helper a function
6 years ago
R. Yushaev
5de004103a
Replace kernel parameter lists with macros
...
Substitute long parameter lists in ~2900 kernel function declarations
with macros. This cleans up the code, reduces probability of copy-paste
errors and highlights the differences between kernel functions. Also
reduces the size of the OpenCL folder by ~3 MB.
6 years ago
Jens Steube
02a2495349
Switched array pointer types in function declarations in order to be compatible with OpenCL 2.0
6 years ago
jsteube
3e08750900
OpenCL Kernels: Add general function declaration keyword (static inline)
7 years ago
jsteube
1aa76eac15
Refactor use of __constant to match up with the user selected attack mode
7 years ago
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube
319799bbbf
Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64
7 years ago
jsteube
560a786ea7
Mix in pure kernel functions in various optimized kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago