Browse Source

misc: fix spaces after closing parenthesis.

sed -i 's/) $/)/' *.cl
build-mingw
Noel Maersk 11 years ago
parent
commit
11cf733ede
  1. 8
      kernel/alexkarnew.cl
  2. 8
      kernel/alexkarold.cl
  3. 8
      kernel/ckolivas.cl
  4. 8
      kernel/psw.cl
  5. 6
      kernel/zuikkis.cl

8
kernel/alexkarnew.cl

@ -797,7 +797,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -797,7 +797,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
#pragma unroll
for(uint z=0; z<zSIZE; ++z, ++CO_reg)
lookup[CO_reg] = X[z];
for(uint i=0; i<LOOKUP_GAP; ++i)
for(uint i=0; i<LOOKUP_GAP; ++i)
salsa(X);
}
@ -815,7 +815,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -815,7 +815,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
}
#endif
for (uint i=0; i<N[NFACTOR]; ++i)
for (uint i=0; i<N[NFACTOR]; ++i)
{
uint4 V[8];
uint j = X[7].x & (N[NFACTOR]-1);
@ -831,7 +831,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -831,7 +831,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(V);
#else
uint val = j%LOOKUP_GAP;
for (uint z=0; z<val; ++z)
for (uint z=0; z<val; ++z)
salsa(V);
#endif
@ -866,7 +866,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target) @@ -866,7 +866,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target)
SHA256(&tstate0, &tstate1, input[0],input[1],input[2],input[3]);
#pragma unroll
for (uint i=0; i<4; i++)
for (uint i=0; i<4; i++)
{
pad0 = tstate0;
pad1 = tstate1;

8
kernel/alexkarold.cl

@ -797,7 +797,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -797,7 +797,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
#pragma unroll
for(uint z=0; z<zSIZE; ++z,++CO)
lookup[CO] = X[z];
for(uint i=0; i<LOOKUP_GAP; ++i)
for(uint i=0; i<LOOKUP_GAP; ++i)
salsa(X);
}
@ -812,7 +812,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -812,7 +812,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(X);
}
#endif
for (uint i=0; i<N[NFACTOR]; ++i)
for (uint i=0; i<N[NFACTOR]; ++i)
{
uint4 V[8];
uint j = X[7].x & (N[NFACTOR]-1);
@ -828,7 +828,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -828,7 +828,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(V);
#else
uint val = j%LOOKUP_GAP;
for (uint z=0; z<val; ++z)
for (uint z=0; z<val; ++z)
salsa(V);
#endif
@ -863,7 +863,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target) @@ -863,7 +863,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target)
SHA256(&tstate0, &tstate1, input[0],input[1],input[2],input[3]);
#pragma unroll
for (uint i=0; i<4; i++)
for (uint i=0; i<4; i++)
{
pad0 = tstate0;
pad1 = tstate1;

8
kernel/ckolivas.cl

@ -798,7 +798,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -798,7 +798,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
#pragma unroll
for(uint z=0; z<zSIZE; ++z)
lookup[CO] = X[z];
for(uint i=0; i<LOOKUP_GAP; ++i)
for(uint i=0; i<LOOKUP_GAP; ++i)
salsa(X);
}
#if (LOOKUP_GAP != 1) && (LOOKUP_GAP != 2) && (LOOKUP_GAP != 4) && (LOOKUP_GAP != 8)
@ -811,7 +811,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -811,7 +811,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(X);
}
#endif
for (uint i=0; i<N[NFACTOR]; ++i)
for (uint i=0; i<N[NFACTOR]; ++i)
{
uint4 V[8];
uint j = X[7].x & (N[NFACTOR]-1);
@ -826,7 +826,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -826,7 +826,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(V);
#else
uint val = j%LOOKUP_GAP;
for (uint z=0; z<val; ++z)
for (uint z=0; z<val; ++z)
salsa(V);
#endif
@ -861,7 +861,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target) @@ -861,7 +861,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target)
SHA256(&tstate0, &tstate1, input[0],input[1],input[2],input[3]);
#pragma unroll
for (uint i=0; i<4; i++)
for (uint i=0; i<4; i++)
{
pad0 = tstate0;
pad1 = tstate1;

8
kernel/psw.cl

@ -737,7 +737,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -737,7 +737,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
#pragma unroll
for(uint z=0; z<zSIZE; ++z)
lookup[CO] = X[z];
for(uint i=0; i<LOOKUP_GAP; ++i)
for(uint i=0; i<LOOKUP_GAP; ++i)
salsa(X);
}
#if (LOOKUP_GAP != 1) && (LOOKUP_GAP != 2) && (LOOKUP_GAP != 4) && (LOOKUP_GAP != 8)
@ -750,7 +750,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -750,7 +750,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(X);
}
#endif
for (uint i=0; i<N[NFACTOR]; ++i)
for (uint i=0; i<N[NFACTOR]; ++i)
{
uint4 V[8];
uint j = X[7].x & (N[NFACTOR]-1);
@ -765,7 +765,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -765,7 +765,7 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
salsa(V);
#else
uint val = j%LOOKUP_GAP;
for (uint z=0; z<val; ++z)
for (uint z=0; z<val; ++z)
salsa(V);
#endif
@ -800,7 +800,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target) @@ -800,7 +800,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target)
SHA256(&tstate0, &tstate1, input[0],input[1],input[2],input[3]);
#pragma unroll
for (uint i=0; i<4; i++)
for (uint i=0; i<4; i++)
{
pad0 = tstate0;
pad1 = tstate1;

6
kernel/zuikkis.cl

@ -798,10 +798,10 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) @@ -798,10 +798,10 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup)
for(uint z=0; z<zSIZE; ++z)
lookup[CO] = X[z];
for(uint i=0; i<LOOKUP_GAP; ++i)
for(uint i=0; i<LOOKUP_GAP; ++i)
salsa(X);
}
for (uint i=0; i<N[NFACTOR]; ++i)
for (uint i=0; i<N[NFACTOR]; ++i)
{
uint j = X[7].x & (N[NFACTOR]-1);
uint y = (j/LOOKUP_GAP);
@ -849,7 +849,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target) @@ -849,7 +849,7 @@ const uint4 midstate0, const uint4 midstate16, const uint target)
SHA256(&tstate0, &tstate1, input[0],input[1],input[2],input[3]);
for (uint i=0; i<4; i++)
for (uint i=0; i<4; i++)
{
pad0 = tstate0;
pad1 = tstate1;

Loading…
Cancel
Save