jsteube
7c6970dbdd
Remove hard-coded static keyword from OpenCL kernels
6 years ago
jsteube
1c45de4b63
Remove more old GCC diagnostic options
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
jsteube
218322f630
Support for inline VeraCrypt PIM Brute-Force
6 years ago
Jens Steube
74abff44d9
Move remaining module specific typedefs and structures from inc_types.cl to kernels
6 years ago
jsteube
dc9279c95c
New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles
6 years ago
jsteube
c88a837196
Rename d_scryptVX_buf to d_extraX_buf
6 years ago
Matt Covalt
bb9328f48b
Add salt type 2 support for optimized functions
6 years ago
Jens Steube
2a6444c05a
Give the compiler a hint for automatic optimizations based on password length
6 years ago
jsteube
a930c5c24e
Do not use KERN_ATTR_VECTOR() if there is no SIMD
6 years ago
jsteube
c672182b44
Fix some leftovers from switching kernel parameters to macros
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
jsteube
68bff94980
Workaround rocm OpenCL runtime bug when copy data from constant to local memory
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
Jens Steube
1f1eacca95
Fix -m 16600 -a 3 optimize mode kernels function declaration for CPU use
7 years ago
jsteube
553668bb9f
Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3)
7 years ago