Browse Source

Remove unused constant passed to poclbm.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
746fe8b2e6
  1. 1
      device-gpu.c
  2. 25
      poclbm120222.cl

1
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(fW15);
CL_SET_BLKARG(fW01r); CL_SET_BLKARG(fW01r);
CL_SET_BLKARG(fcty_e2);
CL_SET_BLKARG(D1A); CL_SET_BLKARG(D1A);
CL_SET_BLKARG(C1addK5); CL_SET_BLKARG(C1addK5);
CL_SET_BLKARG(B1addK6); CL_SET_BLKARG(B1addK6);

25
poclbm120222.cl

@ -67,19 +67,18 @@ __constant uint K[64] = {
__kernel __kernel
__attribute__((vec_type_hint(u))) __attribute__((vec_type_hint(u)))
__attribute__((reqd_work_group_size(WORKSIZE, 1, 1))) __attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
void search(const uint state0, const uint state1, const uint state2, const uint state3, 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 state4, const uint state5, const uint state6, const uint state7,
const uint b1, const uint c1, const uint b1, const uint c1,
const uint f1, const uint g1, const uint h1, const uint f1, const uint g1, const uint h1,
const u base, const u base,
const uint fw0, const uint fw1, const uint fw2, const uint fw3, const uint fw15, const uint fw01r, 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 D1A, const uint C1addK5, const uint B1addK6, const uint W16addK16, const uint W17addK17,
const uint W16addK16, const uint W17addK17, const uint PreVal4addT1, const uint Preval0,
const uint PreVal4addT1, const uint Preval0, __global uint * output)
__global uint * output)
{ {
u W[24]; u W[24];
u *Vals = &W[16]; // Now put at W[16] to be in same array u *Vals = &W[16]; // Now put at W[16] to be in same array

Loading…
Cancel
Save