summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend
Commit message (Collapse)AuthorAgeFilesLines
* Fix FTBFSpowerTimothy Pearson2018-06-041-1/+1
|
* remove definition of `_mm256_set_m128i`psychocrypt2018-06-041-1/+1
| | | | The define of `_mm256_set_m128i` is not needed and avoid intel compiler throws a warning about it.
* fix duplicated nonce usagepsychocrypt2018-06-044-12/+20
| | | | | | - avoid that a nonce which not fits to the current job is used (check jobId after start nonce is consumed) - move jobId check into the if condition to get a new bunch of nonces - CPU: add jobId validation after the start nonce is consumed
* fix possible deadlock with Voltapsychocrypt2018-06-041-1/+1
| | | | | | | If CUDA 9.X is used and the miner is compiled for `sm_70` and used with Volta GPUs than the miner deadlocks if `threads` is not a multiple of `32`. - use `__activemask()` to get all active lanes
* github annotationspsychocrypt2018-06-041-3/+3
| | | | | | - reformat `read_write_lock.h` - fix spelling issue - move job id increase of the write to the buttom
* use read write locks to secure job updatespsychocrypt2018-06-042-61/+6
| | | | user read write locks to be sure that no job is consumend during the job update
* add read write lock classpsychocrypt2018-06-042-45/+64
| | | | | | | | add log class from Will Zhang: Package: cpputil Source: https://github.com/willzhang4a58/cpputil License: MIT License
* fix job consume (possible deadlock)psychocrypt2018-06-049-85/+78
| | | | | | | | | fix #1505 - fix possible deadlock of the executor thread - fix racecondition during the job consumation - remove switch_work in all classes `minethd` - move `consume_work` into `globalStates`
* Fix condition on stellite checkJason Rhinelander2018-06-041-1/+1
|
* set correct `iPoolId` for miner_workpsychocrypt2018-06-043-14/+26
| | | | | - initialize miner_work iPoolId in the default constructor with the invalid pool id - move definition of `pool_data` into an own file
* Spell checkTony Butler2018-06-0434-411/+409
|
* support stellite v4 forkpsychocrypt2018-06-046-39/+115
| | | | | | solve #1494 - add algorithm `cryptonight_v7_stellite` (internal named: `cryptonight_stellite`)
* fix that cli option `--noAMDCache`psychocrypt2018-06-041-6/+6
| | | | - fix that to much OpenCL calls whre used if cache is disabled
* add support for IPBC coinpsychocrypt2018-06-046-34/+115
| | | | | - add algorithm `cryptonight_lite_v7_xor` - update documentation
* Fixes #1467Vladimir Tamara2018-06-041-0/+1
|
* remove fork for sumokoin and moneropsychocrypt2018-06-041-1/+1
| | | | remove fork version for sumokoin and monero7
* add independent dev pool coin descriptionpsychocrypt2018-06-049-43/+47
| | | | | | | | | | | | | | - allow the dev pool to fork on a different block version than the user descriped coin All algorithm are centered around the user coin description. It is allowed to have two two different coin algorithms in the user coin description. It is only allowed to use algorithms for the dev pool coin description those are used in the user coin description. There are two ways to define a non forking coin. - set both user coin algorithm descriptions to the same algorithm and set version to zero - set the first algorithm in the user coin description to something you like to use in the dev pool and set the second algorithm to the correct representation of the coin. Set the version to 255. This will allow that the dev pool can mine on a different coin algorithm than the not forking user coin. Do not use an algorithm with different scratchpad size for the dev pool.
* fix wrong algo selectionpsychocrypt2018-06-043-8/+36
| | | | | In the case where the dev pool mines on a higher version than a monero fork coin the miner is not resetting the algorithm. This PR select the correct algorithm each time the block version hash changed.
* allow non AMD OpenCL driver and devicespsychocrypt2018-06-045-15/+50
| | | | | | - add CLI flag to explicitly use non AMD OpenCL and devices - adjust OpenCL output (use OpenCL instead of AMD if --altOpenCL is sued) - optimize NVIDIA OpenCL auto suggestion
* fix a few conversion warningspsychocrypt2018-06-044-8/+8
| | | | - fix conversion from large type tp small
* change 64Bit size value to 32Bitpsychocrypt2018-06-046-24/+26
| | | | avoid conversion warning by reducing the size value type
* refactor scratchpad creationpsychocrypt2018-06-046-11/+35
| | | | Use the maximum scratchpad size from before and after the fork.
* amd simplify kernel for different algorithmspsychocrypt2018-06-044-431/+295
| | | | | | | - remove version numbers within the kernel - create seperate program context for each mining algorithm - remove kernel `cn1_monero` is now integrated in `cn1` - remname `cnX` kernel in `cnX + algorithmNumber`
* Fix spelling mistake in gpu.cppTakeshi Suzuki2018-06-041-2/+2
|
* Repair more typos in comments onlyTony Butler2018-06-043-4/+4
|
* Repair all 'namepsace' to 'namespace' (all within comments)Tony Butler2018-06-0417-17/+17
|
* NVIDIA: fix sumokoinpsychocrypt2018-06-041-26/+20
| | | | | | | | sumokoin is broken if `bfactor >= 5` is used (default for windows) sumokoin for `sm_20` is broken due to the missing extern shared memory - call phase3 kernel two times if sumokoin is enabled - create extern shared memory for phase3 kernel
* fix cuda architecture detectionpsychocrypt2018-06-041-1/+1
| | | | | | fix #1297 If sm_20 is mixed with other architectures the detection for the minimal supported architecture is broken.
* AMD OpenCL: fix sumokoinpsychocrypt2018-06-041-3/+12
| | | | - fix that version argument was not passed to extended kernel parameters
* change `height` to `version`psychocrypt2018-06-043-4/+4
| | | | -rename `mining_fork_height` to `*_version`
* refactor mining algo selectionpsychocrypt2018-06-048-90/+73
| | | | | - add `fork_height` to currency - refactor algorithm selection
* fix OpenCl AMD on OSXpsychocrypt2018-06-041-4/+1
| | | | | | fix #1218 - remove inline function with ugly macro :-(
* Add filename to backend errorsfireice-uk2018-06-043-15/+15
|
* github annotationspsychocrypt2018-06-041-13/+7
| | | | | | - documentation: change `aeon` to `aeon7` - change `case` order in `switch` statements - update README.txt
* POW AEON v7psychocrypt2018-06-047-92/+142
| | | | | - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes
* add cli option `--noAMDCache`psychocrypt2018-06-041-21/+25
| | | | | | allow to disable the OpenCl cache - usefull for read only systems - usefull for unknown errors during cache reading
* fix parentheses warningpsychocrypt2018-06-041-1/+1
| | | | | | | | | fix warning ``` /Users/user/xmr-stak/xmrstak/backend/amd/amd_gpu/gpu.cpp:481:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ret = clGetProgramInfo(ctx->Program, CL_PROGRAM_BINARIES, num_devices * sizeof(char*), all_programs.data(),NULL) != CL_SUCCESS) ```
* fix autoAdjust(non hwloc)psychocrypt2018-06-041-2/+3
| | | | - remove call `IsCurrencyMonero` with `cn_select_memory`
* Fixed compile error without hwloc.Judemir Ribeiro2018-04-071-17/+1
|
* Update cryptonight_altivec.hJudemir Ribeiro2018-04-071-2/+5
|
* Recovered some power8 speed (3200h/s on monero7 with 20 core power8)Judemir Ribeiro2018-04-061-6/+2
|
* Merge branch 'master' of https://github.com/nioroso-x3/xmr-stakJudemir Ribeiro2018-04-061-2/+6
|\
| * Update cryptonight_altivec.hJudemir Ribeiro2018-04-061-2/+6
| | | | | | Fix for gcc 7 behavior
* | Recovered some of power8 speed (3200h/s on 20 core power8 in monero7)Judemir Ribeiro2018-04-061-66/+312
|/
* Ported xmr-stak 2.3.0 rc to ppc64leJudemir Ribeiro2018-04-0112-362/+1223
|
* Merge pull request #1205 from psychocrypt/topic-revertInputSizeChangefireice-uk2018-03-251-2/+3
|\ | | | | revert input size change
| * revert input size changepsychocrypt2018-03-251-2/+3
| | | | | | | | revert #1198, the block size is limited to 84byte
* | OpenCL precompiled code messagepsychocrypt2018-03-251-3/+3
|/ | | | change warning when precompiled OpenCL code is not found
* fix input size on devicepsychocrypt2018-03-251-1/+1
|
* Fixing allocation issueJuan Leni2018-03-251-1/+1
|
OpenPOWER on IntegriCloud