mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 01:44:23 +00:00
kernel: make psw usable, reorder cases alphabetically.
Closes https://github.com/veox/sgminer/issues/30
This commit is contained in:
parent
bda1070259
commit
23eb242a5f
@ -14,10 +14,10 @@
|
|||||||
All current kernels are based on `scrypt`, originally by Colin Percival,
|
All current kernels are based on `scrypt`, originally by Colin Percival,
|
||||||
updated by many others.
|
updated by many others.
|
||||||
|
|
||||||
* ckolivas: Con Kolivas <kernel@kolivas.org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
|
|
||||||
* zuikkis: Zuikkis LeXck7EYgxyjw13zNDxZFmmgmWffFvhmSh
|
|
||||||
* alexkarnew/alexkarold: Alexey Karimov LMqRcHdwnZtTMH6c2kWoxSoKM5KySfaP5C
|
* alexkarnew/alexkarold: Alexey Karimov LMqRcHdwnZtTMH6c2kWoxSoKM5KySfaP5C
|
||||||
|
* ckolivas: Con Kolivas <kernel@kolivas.org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
|
||||||
* psw: Pavel Semjanov LP6GRFvgoMxKA6AW4TVF668cNezEGZvEtr
|
* psw: Pavel Semjanov LP6GRFvgoMxKA6AW4TVF668cNezEGZvEtr
|
||||||
|
* zuikkis: Zuikkis LeXck7EYgxyjw13zNDxZFmmgmWffFvhmSh
|
||||||
|
|
||||||
|
|
||||||
## Testing, bug fixes, improvements
|
## Testing, bug fixes, improvements
|
||||||
|
@ -42,6 +42,13 @@ Con Kolivas in `cgminer` and renamed to reflect the fact.
|
|||||||
Only supports `vectors=1`.
|
Only supports `vectors=1`.
|
||||||
|
|
||||||
|
|
||||||
|
### psw
|
||||||
|
|
||||||
|
Pavel Semjanov optimised kernel, SHA256 speedups.
|
||||||
|
|
||||||
|
[Announcement](https://bitcointalk.org/index.php?topic=369858.0).
|
||||||
|
|
||||||
|
|
||||||
### zuikkis
|
### zuikkis
|
||||||
|
|
||||||
Zuikkis' optimised kernel, based on `ckolivas`.
|
Zuikkis' optimised kernel, based on `ckolivas`.
|
||||||
@ -50,12 +57,6 @@ Only supports `vectors=1`, `lookup-gap=2` and `worksize=256`.
|
|||||||
|
|
||||||
[Announcement](https://litecointalk.org/index.php?topic=6058.msg90873#msg90873).
|
[Announcement](https://litecointalk.org/index.php?topic=6058.msg90873#msg90873).
|
||||||
|
|
||||||
### psw
|
|
||||||
|
|
||||||
Pavel Semjanov optimised kernel, SHA256 speedups.
|
|
||||||
|
|
||||||
[Announcement](https://bitcointalk.org/index.php?topic=369858.0).
|
|
||||||
|
|
||||||
|
|
||||||
## Submitting new kernels
|
## Submitting new kernels
|
||||||
|
|
||||||
|
@ -1345,8 +1345,8 @@ static bool opencl_thread_init(struct thr_info *thr)
|
|||||||
case KL_ALEXKARNEW:
|
case KL_ALEXKARNEW:
|
||||||
case KL_ALEXKAROLD:
|
case KL_ALEXKAROLD:
|
||||||
case KL_CKOLIVAS:
|
case KL_CKOLIVAS:
|
||||||
case KL_ZUIKKIS:
|
|
||||||
case KL_PSW:
|
case KL_PSW:
|
||||||
|
case KL_ZUIKKIS:
|
||||||
thrdata->queue_kernel_parameters = &queue_scrypt_kernel;
|
thrdata->queue_kernel_parameters = &queue_scrypt_kernel;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -747,8 +747,8 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
|
|||||||
unshittify(X);
|
unshittify(X);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SCRYPT_FOUND (0xFF)
|
#define FOUND (0xFF)
|
||||||
#define SETFOUND(Xnonce) output[output[SCRYPT_FOUND]++] = Xnonce
|
#define SETFOUND(Xnonce) output[output[FOUND]++] = Xnonce
|
||||||
|
|
||||||
__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
|
__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
|
||||||
__kernel void search(__global const uint4 * restrict input,
|
__kernel void search(__global const uint4 * restrict input,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user