Prepare for a more dynamic #pragma unroll use
[hashcat.git] / OpenCL / m01720_a1.cl
index 93a8b9e..0ed7984 100644 (file)
@@ -114,7 +114,9 @@ void sha512_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], con
 
   ROUND_STEP (0);
 
+  #ifdef _unroll
   #pragma unroll
+  #endif
   for (int i = 16; i < 80; i += 16)
   {
     ROUND_EXPAND (); ROUND_STEP (i);