Commit Graph

27 Commits (master)

Author SHA1 Message Date
Jens Steube be75e4b4ea Rename STR() to M2S() to avoid future collisions and move from kernel source to command line parameter
2 years ago
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
2 years ago
Gabriele Gristina 2e4a136758 Refactored standard kernel includes in order to support Apple Metal runtime, updated backend, test units and status code
2 years ago
Jens Steube b6feddd81f Unroll some of the code in the candidate generators
4 years ago
Jens Steube 89119bf24a Add missing inc_platform.h include
5 years ago
jsteube 7c6970dbdd Remove hard-coded static keyword from OpenCL kernels
5 years ago
Jens Steube 0fb3b3c83e Declare internal functions in OpenCL kernels as static
5 years ago
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
5 years ago
jsteube adeeaee84a Replace __kernel, __constant, __global and __local qualifiers with macro for better control
5 years ago
jsteube c9d60c079f Prepare OpenCL kernels for non-static compilation
5 years ago
jsteube c1d5d2ff45 Improve grouping of include calls as a preparation
5 years ago
jsteube 7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
5 years ago
jsteube 84d6b8ecc1 Add function prototypes in OpenCL kernels to make some compilers happy
5 years ago
Jens Steube e117e750fc Add restrict keyword to kernel declarations to help the compiler with caching optimizations
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)
6 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 5e34ec348e Optimize kernels for ROCm 1.6
7 years ago
jsteube c918173fcf Get rid of comb_t which can be safely replace with pw_t now
7 years ago
jsteube c59432a760 Add hcstat2 support to enable masks of length up to 256, also adds a filetype header
7 years ago
Jens Steube 7fe575e204 Add const qualifier to variable declaration of matching global memory objects
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
Jens Steube 2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
8 years ago
Jens Steube 0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
8 years ago
Jens Steube a62b7ed06e Upgrade kernel to support dynamic local work sizes
8 years ago
jsteube 5f7c47b461 Fix path to includes
8 years ago
jsteube 0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
9 years ago