Skip to content

Commit

Permalink
Switch back -m 7400 to old version
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteube committed May 9, 2016
1 parent 4317ac6 commit c19779d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OpenCL/m07400.cl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ __constant u32 k_sha256[64] =
SHA256C3c, SHA256C3d, SHA256C3e, SHA256C3f,
};

#ifdef IS_AMD
#if 1

void sha256_transform (const u32 w[16], u32 digest[8])
{
Expand Down Expand Up @@ -1224,6 +1224,8 @@ __kernel void m07400_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf

#else

// this is basically a much cleaner version, but apparently drops speeds by over 100% :(

#define PUTCHAR32_BE(a,p,c) ((u8 *)(a))[(p) ^ 3] = (u8) (c)
#define GETCHAR32_BE(a,p) ((u8 *)(a))[(p) ^ 3]

Expand Down

0 comments on commit c19779d

Please sign in to comment.