Show warning about bad opencl runtime on intel cpu only once
authorJens Steube <jens.steube@gmail.com>
Fri, 3 Jun 2016 19:04:10 +0000 (21:04 +0200)
committerJens Steube <jens.steube@gmail.com>
Fri, 3 Jun 2016 19:04:10 +0000 (21:04 +0200)
src/hashcat.c

index ec635e7..031ee99 100644 (file)
@@ -13627,8 +13627,11 @@ int main (int argc, char **argv)
           {
             if (data.force == 0)
             {
-              log_info ("Device #%u: WARNING: not native intel opencl runtime, expect massive speed loss", device_id + 1);
-              log_info ("           You can use --force to override this but do not post error reports if you do so");
+              if (algorithm_pos == 0)
+              {
+                log_info ("Device #%u: WARNING: not native intel opencl runtime, expect massive speed loss", device_id + 1);
+                log_info ("           You can use --force to override this but do not post error reports if you do so");
+              }
 
               device_param->skipped = 1;
             }