| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- add `fork_height` to currency
- refactor algorithm selection
|
|
|
|
|
| |
- 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`
|
|
|
|
|
| |
- add new option for `strided_index`
- add additional option if `strided_index == 2` to controll the memory chunk with
|
|
|
|
| |
fix that the GPU name is printed before the name is querried from OpenCL
|
| |
|
| |
|
|
|
|
|
|
| |
Allow to change the indexing used to address the hash scratchpad memory.
- add option `strided_index` for each gpu
|
|
|
|
| |
Fix for AMD GPU detection on MacOS X
On MacOS X the platform is reported as Apple, and the vendor is reported as AMD.
|
|\
| |
| | |
fix max work size shown to user
|
| |
| |
| |
| | |
The max work size shown to the user was the hardware maximum but not take in account thet some kernel spwning 8 times more threads per work group than configured by the user.
|
|\ \
| | |
| | | |
handle OpenCL errors
|
| |/
| |
| |
| |
| | |
- handle opencl errors to avoid unexpected behaviors
- remove code duplicatio nwithin the some method
|
|/
|
|
|
|
| |
- enforce that only host side OpenCl 1.2 functions are used if the miner is compiled with `XMR-STAK_COMPILE=generic`
- update documentation
- add CMake option `XMR-STAK_COMPILE` to windows
|
| |
|
|
|
|
| |
- removed all space indention in `*.hpp` and `*.cpp` files
|
|
|
|
|
|
| |
- rename all `xmr` to `monero`
- be insensitive while check for set currency
- add function to compate two strings insensitive
|
|
|
|
|
| |
- add compile parameter to support aeon and xmr
- update auto suggestion to handle aeon
|
|
|
|
|
| |
- remove 32bit target value
- use always 64bit target for amd backend
|
| |
|
|
|
|
|
|
| |
fix bug announced in #52
If the miner is compiled in debug mode the assert condition results in a compile time error.
|
|
|
|
|
| |
Is is possible that the number of results are greater than the result output array,
in this case invalid memory can be access within the device and on the host side.
|
|
|
|
| |
check that the number of global threads is a multiple of the workgroup size
|
|
|
|
|
| |
The number of threads within a kernel must be a multiple of the worksize.
If not it can crash on some systems.
|
| |
|
|
- 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`
|