summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge pull request #1014 from psychocrypt/topic-speedupVoltafireice-uk2018-02-032-1/+19
|\ \ | | | | | | speedup Volta
| * | speedup Voltapsychocrypt2018-01-302-1/+19
| |/ | | | | | | | | | | | | - enable L1 cache for Nvidia Volta GPUs and newer - remove explicit cache controll for Volta GPU and newer This pull request increases the hash rate for Volta GPUs by ~5%
* | Merge pull request #1015 from psychocrypt/fix-outputOfAMDGpuNamefireice-uk2018-02-031-1/+1
|\ \ | | | | | | fix output of gpu name
| * | fix output of gpu namepsychocrypt2018-01-301-1/+1
| |/ | | | | | | fix that the GPU name is printed before the name is querried from OpenCL
* | Fix Disabling AMD GPUsRyan2018-02-011-2/+5
|/ | | | | The AMD jconf.cpp would only accept an array. The config sample, and the nvidia and cpu config work with the value 'null', as they accept a 'kNullType'. This means at current, AMD GPUs could not be turned off, the config file wouldn't parse on load. This change makes AMD consistent with the others, and can now be disabled.
* Merge pull request #996 from psychocrypt/fix-cpuNonce2fireice-uk2018-01-281-3/+4
|\ | | | | avoid nonce overlapping
| * void nonce overlapppingpsychocrypt2018-01-271-3/+4
| | | | | | | | | | The cpu miner backend uses the wrong ranges of nonces instead of using `[startNonce,startNonce + nonce_chunk)` (startNonce,startNonce + nonce_chunk]` is used. This will results in an overlap with nonces used by the gpu back-ends.
* | Merge pull request #758 from dougvj/fix_zero_intensityfireice-uk2018-01-271-9/+21
|\ \ | | | | | | Add warning and fallback when auto intensity is 0
| * | ignore gpu with intensity zeropsychocrypt2018-01-131-18/+17
| | | | | | | | | | | | | | | - if the intensity is zero than do not suggest a config - remove the links to old issues
| * | Add warning and fallback when auto intensity is 0Doug Johnson2017-12-311-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occassionally the auto adjust doesn't find enough memory and the intensity is detected too low and aligned to 0 with the compute units. This patch fixes this situation by issuing a warning with a suggestion to set environment vars and then ignoring the alignment to 0 Per several issues: Principally: https://github.com/fireice-uk/xmr-stak/issues/81 Related: https://github.com/fireice-uk/xmr-stak/issues/490 https://github.com/fireice-uk/xmr-stak/issues/472
* | | Merge pull request #950 from psychocrypt/topic-reduceMemoryForSlowNvidiaGPUsfireice-uk2018-01-261-0/+6
|\ \ \ | |_|/ |/| | reduce memory usage for low end gpus
| * | reduce memory usage for low end gpuspsychocrypt2018-01-221-0/+6
| | | | | | | | | | | | reduce memory usage to 1GiB for NVIDIA devices with <=6 SMX
* | | remove usage of `rotate`psychocrypt2018-01-241-1/+10
| | | | | | | | | | | | revert the change that the OpenCl function `rotate` is used instead of `SKEIN_ROT`
OpenPOWER on IntegriCloud