| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
The define of `_mm256_set_m128i` is not needed and avoid intel compiler throws a warning about it.
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
If CUDA 9.X is used and the miner is compiled for `sm_70` and used with Volta GPUs than the miner
deadlocks if `threads` is not a multiple of `32`.
- use `__activemask()` to get all active lanes
|
|
|
|
|
|
| |
- reformat `read_write_lock.h`
- fix spelling issue
- move job id increase of the write to the buttom
|
|
|
|
| |
user read write locks to be sure that no job is consumend during the job update
|
|
|
|
|
|
|
|
| |
add log class from Will Zhang:
Package: cpputil
Source: https://github.com/willzhang4a58/cpputil
License: MIT License
|
|
|
|
|
|
|
|
|
| |
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`
|
| |
|
|
|
|
|
| |
- initialize miner_work iPoolId in the default constructor with the invalid pool id
- move definition of `pool_data` into an own file
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
- fix conversion from large type tp small
|
|
|
|
| |
avoid conversion warning by reducing the size value type
|
|
|
|
| |
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`
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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 #1297
If sm_20 is mixed with other architectures the detection for the minimal supported architecture is broken.
|
|
|
|
| |
- 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 :-(
|
| |
|
|
|
|
|
|
| |
- documentation: change `aeon` to `aeon7`
- change `case` order in `switch` statements
- update README.txt
|
|
|
|
|
| |
- 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)
```
|
|
|
|
| |
- remove call `IsCurrencyMonero` with `cn_select_memory`
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| | |
Fix for gcc 7 behavior
|
|/ |
|
| |
|
|\
| |
| | |
revert input size change
|
| |
| |
| |
| | |
revert #1198, the block size is limited to 84byte
|
|/
|
|
| |
change warning when precompiled OpenCL code is not found
|
| |
|
| |
|