| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- 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 #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`
|
| |
|
| |
|
|
|
|
|
|
| |
solve #1494
- add algorithm `cryptonight_v7_stellite` (internal named: `cryptonight_stellite`)
|
|
|
|
| |
- fix that to much OpenCL calls whre used if cache is disabled
|
|
|
|
|
| |
- add algorithm `cryptonight_lite_v7_xor`
- update documentation
|
|
|
|
| |
remove fork version for sumokoin and monero7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Use the maximum scratchpad size from before and after the fork.
|
|
|
|
|
|
|
| |
- 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 that version argument was not passed to extended kernel parameters
|
|
|
|
| |
-rename `mining_fork_height` to `*_version`
|
|
|
|
|
| |
- add `fork_height` to currency
- refactor algorithm selection
|
|
|
|
|
|
| |
fix #1218
- remove inline function with ugly macro :-(
|
| |
|
|
|
|
|
| |
- add new pow for AEON
- fix missing cryptonight-heavy selection for multi hashes
|
|
|
|
|
|
| |
allow to disable the OpenCl cache
- usefull for read only systems
- usefull for unknown errors during cache reading
|
|
|
|
|
|
|
|
|
| |
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)
```
|
| |
|
|
|
|
| |
change warning when precompiled OpenCL code is not found
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
A redefinition of a variable in a local scope avoid that the intensity is rounded to a multiple of the work size.
|
|
|
|
|
|
|
| |
Reduce OpenCL start time by using a self made compiler cache.
- store compiled OpenCL binary
- load OpenCl binary if available
|
|
|
|
| |
fix double definition of define `MEM_CHUNK`
|
|\
| |
| | |
fix compile with OpenCL 1.1
|
| |
| |
| |
| | |
guard error types those are only defined in OpenCL >1.1
|
|\ \
| | |
| | | |
add Mesa OpenCL support
|
| |/
| |
| |
| | |
allow usage of Mesa OpenCl
|
|/
|
|
|
| |
- add new option `comp_mode` to the amd config
- disable `if guards` within opencl kernel if `comp_mode : false`
|
|\
| |
| | |
AMD: option `mem_chunk`and new `strided_index`
|
| |
| |
| |
| |
| | |
- add new option for `strided_index`
- add additional option if `strided_index == 2` to controll the memory chunk with
|
|/
|
|
| |
reduce usage of registers: based on the suggestion of @enerc77
|
|\
| |
| | |
improve AMD auto suggestion for AEON
|
| |
| |
| |
| | |
increase the intensity limit for AEON
|
|\ \
| | |
| | | |
fix output of gpu name
|
| |/
| |
| |
| | |
fix that the GPU name is printed before the name is querried from OpenCL
|
|/
|
|
|
| |
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.
|
|\
| |
| | |
Add warning and fallback when auto intensity is 0
|
| |
| |
| |
| |
| | |
- if the intensity is zero than do not suggest a config
- remove the links to old issues
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
revert the change that the OpenCl function `rotate` is used instead of `SKEIN_ROT`
|
| | |
|
| |
| |
| |
| |
| | |
- Eliminate modulus math (It runs slow inside microcode).
- Convert whatever the hell was going on into a rotate op. Like... Someone kinda reinvented the wheel in order to do a simple rotate.
|
|\ \
| | |
| | | |
update VEGA names for auto suggestion
|
| | |
| | |
| | |
| | | |
update VEGA names
|