summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu
Commit message (Collapse)AuthorAgeFilesLines
* add independent dev pool coin descriptionpsychocrypt2018-04-174-20/+22
| | | | | | | | | | | | | | - 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-171-4/+18
| | | | | 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.
* 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-083-4/+17
| | | | Use the maximum scratchpad size from before and after the fork.
* Repair more typos in comments onlyTony Butler2018-04-051-1/+1
|
* Repair all 'namepsace' to 'namespace' (all within comments)Tony Butler2018-04-056-6/+6
|
* change `height` to `version`psychocrypt2018-04-021-2/+2
| | | | -rename `mining_fork_height` to `*_version`
* refactor mining algo selectionpsychocrypt2018-04-012-26/+36
| | | | | - add `fork_height` to currency - refactor algorithm selection
* Add filename to backend errorsfireice-uk2018-03-311-5/+5
|
* Merge pull request #1236 from psychocrypt/topic-powAeonv7fireice-uk2018-03-292-45/+85
|\ | | | | POW AEON v7
| * POW AEON v7psychocrypt2018-03-272-45/+85
| | | | | | | | | | - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes
* | fix autoAdjust(non hwloc)psychocrypt2018-03-261-12/+2
|/ | | | - remove call `IsCurrencyMonero` with `cn_select_memory`
* XMR-Stak 2.3.0 RCxmr-stak-devs2018-03-256-198/+556
| | | | | | | 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>
* Comment cleanupBryan Stitt2018-03-031-1/+1
|
* 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 #772 from vtamara/comp_adJpsychocrypt2018-01-212-0/+5
|\ | | | | It compiles on OpenBSD/adJ 6.2
| * Extra code path for OpenBSD suggested by psychocryptVladimir Tamara2018-01-161-1/+3
| |
| * It compiles on OpenBSD/adJ 6.2Vladimir Tamara2018-01-012-1/+4
| |
* | fix set affinity for windowspsychocrypt2018-01-131-1/+10
| | | | | | | | Ignore any affinity >=64 and throw a warning.
* | Merge pull request #846 from psychocrypt/fix-cpuMemAutodetectionfireice-uk2018-01-121-18/+15
|\ \ | | | | | | fix autosuggestion CPU
| * | fix usage of bytes instead of KBpsychocrypt2018-01-091-17/+14
| | | | | | | | | | | | | | | | | | | | | bug was introduced with #67 - increase the L3 sanity check to 2GiB - fix usage of byte instead of KB
| * | Fix cache size detectionTom Doemiller2018-01-091-1/+1
| | |
* | | Merge pull request #697 from dangrabbits/masterpsychocrypt2018-01-091-0/+3
|\ \ \ | |/ / |/| | Updated config.tpl comments to include how to exclude CPU/GPUs
| * | Updated config.tpl comments to include how to exclude CPU/GPUsdangrabbits2017-12-251-0/+3
| | |
* | | Merge pull request #778 from b-/patch-2fireice-uk2018-01-081-1/+1
|\ \ \ | | | | | | | | Rename "MacOS" to "macOS"
| * | | Update minethd.cppBrian Recchia2018-01-041-1/+1
| | |/ | |/| | | | | | | | | | | | | Changed capitalization of "macOS" Squashed the commit
* | | Merge pull request #705 from dataway/devfireice-uk2018-01-031-7/+6
|\ \ \ | |/ / |/| | Rearrange prefetch for slight performance increase in CPU miner
| * | CPU - cryptonight_aesni.h - rearranged prefetch instructions to allow more ↵Anthony Uk2017-12-251-7/+6
| |/ | | | | | | time for cache to charge
* | Typo: Obtaning -> ObtainingLehmax2017-12-281-1/+1
| |
* | Busywork courtesy of Microsoftfireice-uk2017-12-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | Add messages Missing include 1
* | On-demand elevationfireice-uk2017-12-251-0/+4
|/
* Make sure we are using a steady clockfireice-uk2017-12-221-4/+2
|
* Fix nonce allocationUnknown2017-12-072-17/+28
|
* Update documentation for `low_power_mode`.Grzegorz Hasse2017-12-061-2/+4
|
* Extend low_power_mode to do up to 5 cn hashes at a time.Grzegorz Hasse2017-12-065-102/+483
| | | | | | The "low_power_mode" option in config.txt can be set to numeral values between 1 and 5. A value of 5 seems optimal on certain processors with large L4 cache.
* Remove whitespace linesUnknown2017-11-162-4/+4
|
* fix wrong indentions by hand after auto conversionpsychocrypt2017-11-161-3/+4
|
* remove space indention with tabspsychocrypt2017-11-162-36/+36
| | | | - removed all space indention in `*.hpp` and `*.cpp` files
* Merge pull request #115 from fireice-uk/topic-net-extpsychocrypt2017-11-161-4/+4
|\ | | | | Network extensions
| * Pass threadno up the food chainUnknown2017-11-141-4/+4
| |
* | Fix misc bugs (#117)fireice-uk2017-11-152-0/+8
|/ | | | | | * CONF_NO_TLS fix * gpu error fix + always return to sched after pin
* add backend typepsychocrypt2017-11-101-0/+1
| | | | | - add type of the backend to each backend-plugin - add `gteName` to `iBackend` to get the name of the backend
* Multi-pool final version (#90)fireice-uk2017-11-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Multi-pool first draft * Fix wspace from new IDE * Better TLS error message * Fix TLS bug * Don't put dev pool on stats + pool change-back * bug fixes * Error message work * fix win build * add per-pool nicehash setting * Fix bugs * rm debug msg * Multipool guided setup * Support TLS and Nicehash in config * prelim jconf changes * final multipool changes * increase default retry_time to 30, fix mac erro * rm debug dev pool settings * Fix another source of connect runaway
* fix windows compile and broken aeonpsychocrypt2017-10-282-54/+66
| | | | | - fix windows linker error during compile - fix wrong parameter to call aeon (nvidia-backend)
* rename `xmr` to `monero`psychocrypt2017-10-276-45/+51
| | | | | | - rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive
* add aeon support to backend cpupsychocrypt2017-10-277-86/+177
| | | | | - update auto suggestion default and hwloc - extent hash function table to support aeon and xmr within one miner
* check if affinity must be setpsychocrypt2017-10-271-3/+3
| | | | - check if affinity vale before calling `thd_setaffinity`
* thread affinity for non cpu backendspsychocrypt2017-10-261-5/+5
| | | | | | | | This is a follow up of #43 and use the some mechanism to set the thread affinity for non cpu backends correct. - use cpu affinity workflow for nvidia and amd - cpu: move messages of thread spawning before thread creation
* remove double blob copypsychocrypt2017-10-231-4/+0
| | | | - remove double copied memory
OpenPOWER on IntegriCloud