Enable unrolling of SHA512 with HMAC on NV
[hashcat.git] / OpenCL / m01750_a0.cl
index 0ad4790..5095385 100644 (file)
@@ -116,7 +116,12 @@ void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
 
   ROUND_STEP (0);
 
-  //#pragma unroll
+  #ifdef IS_AMD
+  // #pragma unroll
+  // breaks compiler
+  #else
+  #pragma unroll
+  #endif
   for (int i = 16; i < 80; i += 16)
   {
     ROUND_EXPAND (); ROUND_STEP (i);