summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/minethd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix duplicated nonce usagepsychocrypt2018-06-041-3/+4
| | | | | | - 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 job consume (possible deadlock)psychocrypt2018-06-041-25/+5
| | | | | | | | | 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`
* Spell checkTony Butler2018-06-041-5/+5
|
* add independent dev pool coin descriptionpsychocrypt2018-06-041-4/+5
| | | | | | | | | | | | | | - 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-041-2/+9
| | | | | 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-041-2/+4
| | | | | | - 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
* amd simplify kernel for different algorithmspsychocrypt2018-06-041-2/+2
| | | | | | | - 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`
* change `height` to `version`psychocrypt2018-06-041-1/+1
| | | | -rename `mining_fork_height` to `*_version`
* refactor mining algo selectionpsychocrypt2018-06-041-18/+11
| | | | | - add `fork_height` to currency - refactor algorithm selection
* POW AEON v7psychocrypt2018-06-041-20/+13
| | | | | - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes
* Ported xmr-stak 2.3.0 rc to ppc64leJudemir Ribeiro2018-04-011-1/+1
|
* XMR-Stak 2.3.0 RCxmr-stak-devs2018-03-251-3/+35
| | | | | | | 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>
* add OpenCL compatibility modepsychocrypt2018-02-191-0/+1
| | | | | - add new option `comp_mode` to the amd config - disable `if guards` within opencl kernel if `comp_mode : false`
* AMD: `mem_chunk`and new `strided_index`psychocrypt2018-02-171-0/+1
| | | | | - add new option for `strided_index` - add additional option if `strided_index == 2` to controll the memory chunk with
* 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
* | Modify invalid result report to show GPU idDoug Johnson2017-12-301-1/+1
|/
* Make sure we are using a steady clockfireice-uk2017-12-221-2/+1
|
* add AMD scratchpad indexing optionpsychocrypt2017-12-021-0/+1
| | | | | | Allow to change the indexing used to address the hash scratchpad memory. - add option `strided_index` for each gpu
* Remove whitespace linesUnknown2017-11-161-5/+5
|
* fix wrong indentions by hand after auto conversionpsychocrypt2017-11-161-3/+4
|
* remove space indention with tabspsychocrypt2017-11-161-2/+2
| | | | - removed all space indention in `*.hpp` and `*.cpp` files
* Merge pull request #115 from fireice-uk/topic-net-extpsychocrypt2017-11-161-1/+1
|\ | | | | Network extensions
| * Pass threadno up the food chainUnknown2017-11-141-1/+1
| |
* | Fix misc bugs (#117)fireice-uk2017-11-151-1/+5
|/ | | | | | * 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
* rename `xmr` to `monero`psychocrypt2017-10-271-1/+1
| | | | | | - rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive
* add eon support to amd backendpsychocrypt2017-10-271-1/+1
| | | | | - add compile parameter to support aeon and xmr - update auto suggestion to handle aeon
* Merge pull request #69 from psychocrypt/topic-threadAffinityfireice-uk2017-10-271-8/+22
|\ | | | | thread affinity for non cpu backends
| * check if affinity must be setpsychocrypt2017-10-271-2/+3
| | | | | | | | - check if affinity vale before calling `thd_setaffinity`
| * thread affinity for non cpu backendspsychocrypt2017-10-261-8/+21
| | | | | | | | | | | | | | | | 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
* | amd: use 64bit targetpsychocrypt2017-10-241-1/+1
|/ | | | | - remove 32bit target value - use always 64bit target for amd backend
* Fix GPU nicehash supportfireice-uk2017-10-221-1/+3
|
* move nicehash check into nonce calcfireice-uk2017-10-221-4/+1
|
* Implement changes suggestedfireice-uk2017-10-221-1/+1
|
* Implement pool-controlled nonce allocationfireice-uk2017-10-221-7/+12
|
* Make sure all singletons are set to null and make env a global ptrfireice-uk2017-10-121-1/+1
|
* readd nicehash pool supportpsychocrypt2017-10-011-1/+6
| | | | use nicehash start nonce in all backends if nicehash is enabled
* rename `Params` to `params`psychocrypt2017-09-301-1/+1
|
* fix compilepsychocrypt2017-09-301-14/+14
|
* cleanup includespsychocrypt2017-09-301-17/+14
|
* group filespsychocrypt2017-09-301-0/+237
- move source code to `src` - categorize files and move to group folder - change upper case class files to lower case - change C++ header to `*.hpp`
OpenPOWER on IntegriCloud