Commit Graph

44 Commits (master)

Author SHA1 Message Date
Gabriele Gristina f890cd8134 Improved management of systems with multiple OpenCL platforms and show empty OpenCL platforms only in backend information mode
2 years ago
Gabriele Gristina 26b6054cab OpenCL Backend: moved functions to ext_OpenCL.c and includes to ext_OpenCL.h
2 years ago
jsteube 708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
jsteube 57371376a3 Fix some formating from merged PR
7 years ago
yhfudev eba49f0dae a complete opencl error messages
7 years ago
Jens Steube c45ed21f9b Update CL_* errorcode to OpenCL 1.2 standard
7 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube 7ce2f2ff19 Introduce opencl_ctx_t; not finished yet
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube 25726e4f4e Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube 8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago
jsteube 4b79ccd416 Preparation for easier integration of:
8 years ago
Rosen Penev aeee10fbeb
Fix -Wundef warnings
8 years ago
Jens Steube 6ba0eb8b39 Get rid of exit() calls in OpenCL wrapper library with the goal to have a better control which error can be ignored under special circumstances
8 years ago
jsteube 49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube 96f2ade4bb Replace DARWIN macro with __APPLE__
8 years ago
Unix-Ninja 2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN'
8 years ago
_NSAKEY 2504b59eea Trivial log message touch-ups.
8 years ago
jsteube 9d2c24fc0d Fix memory allocation for clBuildProgram() retry version
8 years ago
jsteube 829289b109 Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune;
8 years ago
jsteube 02dd1f20ab Fix of invalid use of free()
8 years ago
jsteube b5a71dca58 Add more informative help text in case of faulty or no OpenCL installation
8 years ago
Jens Steube 61f87b2981 Try to load libOpenCL.so.1 if libOpenCL.so was not found
8 years ago
Gabriele 'matrix' Gristina 2a1d0d21ff Get rid of hc_clEnqueueNDRangeKernel double call
8 years ago
jsteube 5c01349ba6 Update event handling to workaround event handling error in nvidia opencl runtime
8 years ago
Jens Steube 9fc360e39d Added the execution time of the running kernel to the status display
8 years ago
Gabriele 'matrix' Gristina 74be8e2e25 skip device if buildProgram() fail
8 years ago
Gabriele 'matrix' Gristina 89e5ed2574 handling possible clEnqueueFillBuffer not found in opencl lib
8 years ago
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader
8 years ago
Gabriele 'matrix' Gristina f9598f691d Fixed CL_INVALID_WORK_GROUP_SIZE error with Apple CPU
8 years ago
Gabriele 'matrix' Gristina d147d89f5e cleanup unnecessary clGetProgramBuildInfo code
8 years ago
Gabriele 'matrix' Gristina ebd28553a5 Handling clBuildProgram failure (show build log on errors)
8 years ago
Gabriele 'matrix' Gristina 5bae9de3a3 Implemented OpenCL library loader
8 years ago
jsteube 954be23a12 Fix some code formating
8 years ago
yhfudev edc6c920a9 human-readable error message for the OpenCL error codes.
8 years ago
jsteube c17bf5e865 - Fixed PHY memory handling for scrypt based algorithms
9 years ago
jsteube 7be2c2fd8d Fixed some speeds:
9 years ago
jsteube 378258d789 Fix caching system for use with AMD and NV, drop BINARY_KERNEL define
9 years ago
jsteube 0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
9 years ago
philsmd ef548d3088 fixes issue #5: formatting problem with tabs vs spaces
9 years ago
Jens Steube 5065474b4e Initial commit
9 years ago