Prepare for a more dynamic #pragma unroll use
[hashcat.git] / src / oclHashcat.c
index 6bdc33e..242ba90 100644 (file)
@@ -10714,6 +10714,8 @@ int main (int argc, char **argv)
                   break;
       case 11300: if (pw_max > 40) pw_max = 40;
                   break;
+      case 11600: if (pw_max > 32) pw_max = 32;
+                  break;
       case 12500: if (pw_max > 20) pw_max = 20;
                   break;
       case 12800: if (pw_max > 24) pw_max = 24;
@@ -13969,7 +13971,7 @@ int main (int argc, char **argv)
 
       // we don't have sm_* on vendors not NV but it doesn't matter
 
-      snprintf (build_opts, sizeof (build_opts) - 1, "-cl-std=CL1.1 -I\"%s/\" -DVENDOR_ID=%u -DCUDA_ARCH=%d -DVECT_SIZE=%u -DDEVICE_TYPE=%u", shared_dir, device_param->vendor_id, (device_param->sm_major * 100) + device_param->sm_minor, device_param->vector_width, (u32) device_param->device_type);
+      snprintf (build_opts, sizeof (build_opts) - 1, "-cl-std=CL1.1 -I\"%s/\" -DVENDOR_ID=%u -DCUDA_ARCH=%d -DVECT_SIZE=%u -DDEVICE_TYPE=%u -DKERN_TYPE=%u -D_unroll", shared_dir, device_param->vendor_id, (device_param->sm_major * 100) + device_param->sm_minor, device_param->vector_width, (u32) device_param->device_type, kern_type);
 
       /**
        * main kernel