mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 05:41:55 +00:00
core. include check in ocl.c regarding lookup-gap for kernel 'bufius'
doc: change documentation
This commit is contained in:
parent
6d5e7bdd31
commit
0b0a3ed834
@ -27,6 +27,7 @@ updated by many others.
|
||||
* ckolivas: Con Kolivas <kernel @at@ kolivas }dot{ org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
|
||||
* psw: Pavel Semjanov LP6GRFvgoMxKA6AW4TVF668cNezEGZvEtr
|
||||
* zuikkis: Zuikkis LeXck7EYgxyjw13zNDxZFmmgmWffFvhmSh
|
||||
* bufius: Bufius VvvmmkYHKGtdr97JLyyZuJ3Th5ayungnjk
|
||||
|
||||
|
||||
## Testing, bug fixes, improvements
|
||||
|
@ -58,6 +58,15 @@ Only supports `vectors=1` and `lookup-gap=2`.
|
||||
[Announcement](https://litecointalk.org/index.php?topic=6058.msg90873#msg90873).
|
||||
|
||||
|
||||
### bufius
|
||||
|
||||
Bufius' optimised kernel, based on `ckolivas`.
|
||||
|
||||
Only supports `vectors=1` and `lookup-gap 2, 4 or 8`.
|
||||
|
||||
Takeover from vertminer
|
||||
|
||||
|
||||
## Submitting new kernels
|
||||
|
||||
### Requirements
|
||||
|
5
ocl.c
5
ocl.c
@ -456,6 +456,11 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize, algorithm_t *alg
|
||||
applog(LOG_WARNING, "Kernel zuikkis only supports lookup-gap = 2 (currently %d), forcing.", cgpu->lookup_gap);
|
||||
cgpu->lookup_gap = 2;
|
||||
}
|
||||
|
||||
if ((strcmp(cgpu->kernelname, "bufius") == 0) && ((cgpu->lookup_gap != 2) && (cgpu->lookup_gap != 4) && (cgpu->lookup_gap != 8))) {
|
||||
applog(LOG_WARNING, "Kernel bufius only supports lookup-gap of 2, 4 or 8 (currently %d), forcing to 2", cgpu->lookup_gap);
|
||||
cgpu->lookup_gap = 2;
|
||||
}
|
||||
|
||||
if (!cgpu->opt_tc) {
|
||||
unsigned int sixtyfours;
|
||||
|
Loading…
x
Reference in New Issue
Block a user