summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend
Commit message (Collapse)AuthorAgeFilesLines
* remove fork for sumokoin and moneropsychocrypt2018-04-171-1/+1
| | | | remove fork version for sumokoin and monero7
* add independent dev pool coin descriptionpsychocrypt2018-04-179-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-04-173-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.
* Merge pull request #1112 from psychocrypt/topic-nvidiaOpenCLfireice-uk2018-04-175-15/+50
|\ | | | | allow non AMD OpenCL driver and devices
| * allow non AMD OpenCL driver and devicespsychocrypt2018-04-145-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-04-144-8/+8
| | | | | | | | - fix conversion from large type tp small
* | change 64Bit size value to 32Bitpsychocrypt2018-04-146-24/+26
|/ | | | avoid conversion warning by reducing the size value type
* refactor scratchpad creationpsychocrypt2018-04-086-11/+35
| | | | Use the maximum scratchpad size from before and after the fork.
* amd simplify kernel for different algorithmspsychocrypt2018-04-084-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`
* Merge pull request #1324 from takeshibaconsuzuki/devpsychocrypt2018-04-061-2/+2
|\ | | | | Fix spelling mistake in gpu.cpp
| * Fix spelling mistake in gpu.cppTakeshi Suzuki2018-04-051-2/+2
| |
* | Repair more typos in comments onlyTony Butler2018-04-053-4/+4
| |
* | Repair all 'namepsace' to 'namespace' (all within comments)Tony Butler2018-04-0517-17/+17
|/
* NVIDIA: fix sumokoinpsychocrypt2018-04-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-04-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-04-031-3/+12
| | | | - fix that version argument was not passed to extended kernel parameters
* change `height` to `version`psychocrypt2018-04-023-4/+4
| | | | -rename `mining_fork_height` to `*_version`
* refactor mining algo selectionpsychocrypt2018-04-018-90/+73
| | | | | - add `fork_height` to currency - refactor algorithm selection
* fix OpenCl AMD on OSXpsychocrypt2018-04-011-4/+1
| | | | | | fix #1218 - remove inline function with ugly macro :-(
* Add filename to backend errorsfireice-uk2018-03-313-16/+16
|
* Merge pull request #1236 from psychocrypt/topic-powAeonv7fireice-uk2018-03-297-99/+143
|\ | | | | POW AEON v7
| * github annotationspsychocrypt2018-03-291-13/+7
| | | | | | | | | | | | - documentation: change `aeon` to `aeon7` - change `case` order in `switch` statements - update README.txt
| * POW AEON v7psychocrypt2018-03-277-92/+142
| | | | | | | | | | - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes
* | add cli option `--noAMDCache`psychocrypt2018-03-281-21/+25
| | | | | | | | | | | | allow to disable the OpenCl cache - usefull for read only systems - usefull for unknown errors during cache reading
* | Merge pull request #1240 from psychocrypt/fix-parenthesesWarningfireice-uk2018-03-281-1/+1
|\ \ | | | | | | fix parentheses warning
| * | fix parentheses warningpsychocrypt2018-03-271-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-03-261-12/+2
|/ | | | - remove call `IsCurrencyMonero` with `cn_select_memory`
* 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
|
* XMR-Stak 2.3.0 RCxmr-stak-devs2018-03-2517-359/+1389
| | | | | | | Co-authored-by: psychocrypt <psychocryptHPC@gmail.com> Co-authored-by: fireice-uk <fireice-uk@users.noreply.github.com> Co-authored-by: Lee Clagett <code@leeclagett.com> Co-authored-by: curie-kief <curie-kief@users.noreply.github.com>
* fix shadowed variablepsychocrypt2018-03-131-1/+1
| | | | A redefinition of a variable in a local scope avoid that the intensity is rounded to a multiple of the work size.
* Merge pull request #1121 from psychocrypt/topic-speedupCUDAStartupfireice-uk2018-03-042-16/+35
|\ | | | | CUDA: reduce startup time
| * CUDA: reduce startup timepsychocrypt2018-02-282-16/+35
| | | | | | | | | | - reduce startup time for multi gpu systems - initialize the GPU memory non concurrent
* | Merge pull request #1131 from psychocrypt/topic-openCLCompileCachefireice-uk2018-03-041-29/+182
|\ \ | | | | | | OpenCL compile cache
| * | add OpenCL compiler cachepsychocrypt2018-03-031-29/+182
| |/ | | | | | | | | | | | | Reduce OpenCL start time by using a self made compiler cache. - store compiled OpenCL binary - load OpenCl binary if available
* | Comment cleanupBryan Stitt2018-03-031-1/+1
|/
* fix broken memchunk featurepsychocrypt2018-02-214-4/+4
| | | | fix double definition of define `MEM_CHUNK`
* Merge pull request #1102 from psychocrypt/topic-opencl_1_1fireice-uk2018-02-211-0/+4
|\ | | | | fix compile with OpenCL 1.1
| * fix compile with OpenCL 1.1psychocrypt2018-02-191-0/+4
| | | | | | | | guard error types those are only defined in OpenCL >1.1
* | Merge pull request #1101 from psychocrypt/topic-mesaSupportfireice-uk2018-02-212-3/+26
|\ \ | | | | | | add Mesa OpenCL support
| * | add Mesa OpenCL supportpsychocrypt2018-02-192-3/+26
| |/ | | | | | | allow usage of Mesa OpenCl
* | add OpenCL compatibility modepsychocrypt2018-02-198-16/+48
|/ | | | | - add new option `comp_mode` to the amd config - disable `if guards` within opencl kernel if `comp_mode : false`
* Merge pull request #1087 from psychocrypt/topic-blockedStride3fireice-uk2018-02-198-21/+75
|\ | | | | AMD: option `mem_chunk`and new `strided_index`
| * AMD: `mem_chunk`and new `strided_index`psychocrypt2018-02-178-21/+75
| | | | | | | | | | - add new option for `strided_index` - add additional option if `strided_index == 2` to controll the memory chunk with
* | AMD: reduce register usagepsychocrypt2018-02-141-4/+4
|/ | | | reduce usage of registers: based on the suggestion of @enerc77
* Merge pull request #1013 from psychocrypt/topic-improveAmdAeonAutosuggestionfireice-uk2018-02-031-0/+3
|\ | | | | improve AMD auto suggestion for AEON
| * improve AMD auto suggestion for AEONpsychocrypt2018-01-301-0/+3
| | | | | | | | increase the intensity limit for AEON
OpenPOWER on IntegriCloud