Remove unused constant passed to poclbm.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
diff --git a/device-gpu.c b/device-gpu.c
index 70dea39..9aef31e 100644
--- a/device-gpu.c
+++ b/device-gpu.c
@@ -777,7 +777,6 @@ static cl_int queue_poclbm_kernel(_clState *clState, dev_blk_ctx *blk, cl_uint t
CL_SET_BLKARG(fW15);
CL_SET_BLKARG(fW01r);
- CL_SET_BLKARG(fcty_e2);
CL_SET_BLKARG(D1A);
CL_SET_BLKARG(C1addK5);
CL_SET_BLKARG(B1addK6);
diff --git a/poclbm120222.cl b/poclbm120222.cl
index a0a964c..bc73ce9 100644
--- a/poclbm120222.cl
+++ b/poclbm120222.cl
@@ -67,19 +67,18 @@ __constant uint K[64] = {
__kernel
- __attribute__((vec_type_hint(u)))
- __attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
- void search(const uint state0, const uint state1, const uint state2, const uint state3,
- const uint state4, const uint state5, const uint state6, const uint state7,
- const uint b1, const uint c1,
- const uint f1, const uint g1, const uint h1,
- const u base,
- const uint fw0, const uint fw1, const uint fw2, const uint fw3, const uint fw15, const uint fw01r,
- const uint fcty_e2,
- const uint D1A, const uint C1addK5, const uint B1addK6,
- const uint W16addK16, const uint W17addK17,
- const uint PreVal4addT1, const uint Preval0,
- __global uint * output)
+__attribute__((vec_type_hint(u)))
+__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
+void search(const uint state0, const uint state1, const uint state2, const uint state3,
+ const uint state4, const uint state5, const uint state6, const uint state7,
+ const uint b1, const uint c1,
+ const uint f1, const uint g1, const uint h1,
+ const u base,
+ const uint fw0, const uint fw1, const uint fw2, const uint fw3, const uint fw15, const uint fw01r,
+ const uint D1A, const uint C1addK5, const uint B1addK6,
+ const uint W16addK16, const uint W17addK17,
+ const uint PreVal4addT1, const uint Preval0,
+ __global uint * output)
{
u W[24];
u *Vals = &W[16]; // Now put at W[16] to be in same array