jsteube
66d94b06e4
Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version
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
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
6 years ago
jsteube
84d6b8ecc1
Add function prototypes in OpenCL kernels to make some compilers happy
6 years ago
Sein Coray
deacf3a2b9
fix constant name for sha224
6 years ago
jsteube
dc9279c95c
New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles
6 years ago
jsteube
dad05d9f69
Testing: Workaround some AMD OpenCL runtime segmentation faults
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
Jens Steube
a15c165773
Revert the pos == 0 change due to some unexpected results on nvidia
7 years ago
jsteube
b626e7f61b
Optimize update functions in inc_hash_* helper files by testing for pos == 0
7 years ago
jsteube
5951207365
Get rid of some old volatiles
7 years ago
jsteube
e4e1c1d515
We can't mix inline functions with static constants
7 years ago
jsteube
3e08750900
OpenCL Kernels: Add general function declaration keyword (static inline)
7 years ago
jsteube
53f3da9f63
OpenCL Kernels: Use static declaraction for uXXa variables used in __constant space
7 years ago
jsteube
503f676cb0
Remove static keywords from OpenCL functions, they can cause old NV JiT compiler to fail
7 years ago
jsteube
51dd982b12
Bring back some volatile for AMD
7 years ago
jsteube
9125062ffc
Move volatiles for AMD closer to the problem
7 years ago
jsteube
938c281ee0
Resurrect some volatile variables in order to correctly compile pure kernels on AMD drivers
7 years ago
jsteube
967e96728d
Make all the OpenCL kernel function includes static
7 years ago
jsteube
5e34ec348e
Optimize kernels for ROCm 1.6
...
- Remove inline keywords
- Remove volatile keywords where it causes ROCm to slow down
- Replace DES functions (looks like bitselect somehow is no longer mapped to BFI_INT)
7 years ago
jsteube
eae9329761
Workaround some AMD JiT compiler segfault on complex kernels
7 years ago
jsteube
e863a12624
Some fixes for inc_hash_sha224.cl and inc_hash_sha384.cl
7 years ago
jsteube
fe38379d0d
Add -L kernel for SHA224
7 years ago