From d6b6c8dbbd582a92086e126a2d2fc89adc5fbbaa Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 12 Nov 2016 19:54:52 +0100 Subject: [PATCH 1/3] Do not control fan speed in benchmark mode --- src/user_options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/user_options.c b/src/user_options.c index b3b2e455a..958103f70 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -945,6 +945,7 @@ void user_options_preprocess (hashcat_ctx_t *hashcat_ctx) { user_options->attack_mode = ATTACK_MODE_BF; user_options->gpu_temp_disable = false; + user_options->gpu_temp_retain = 0; user_options->increment = false; user_options->left = false; user_options->logfile_disable = true; From ac44087c83e13156797812d53140d73716e8079b Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 12 Nov 2016 20:23:15 +0100 Subject: [PATCH 2/3] Optimize unrolling for AMD based on AMDGPU-Pro 16.40 --- OpenCL/inc_vendor.cl | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/OpenCL/inc_vendor.cl b/OpenCL/inc_vendor.cl index 14bcbebed..a81641eac 100644 --- a/OpenCL/inc_vendor.cl +++ b/OpenCL/inc_vendor.cl @@ -165,15 +165,9 @@ #ifdef IS_AMD #ifdef IS_GPU -#if KERN_TYPE == 3200 -#undef _unroll -#endif #if KERN_TYPE == 5200 #undef _unroll #endif -#if KERN_TYPE == 6100 -#undef _unroll -#endif #if KERN_TYPE == 6221 #undef _unroll #endif @@ -186,15 +180,9 @@ #if KERN_TYPE == 6400 #undef _unroll #endif -#if KERN_TYPE == 6500 -#undef _unroll -#endif #if KERN_TYPE == 6800 #undef _unroll #endif -#if KERN_TYPE == 7100 -#undef _unroll -#endif #if KERN_TYPE == 7400 #undef _unroll #endif @@ -207,21 +195,12 @@ #if KERN_TYPE == 10900 #undef _unroll #endif -#if KERN_TYPE == 11600 -#undef _unroll -#endif -#if KERN_TYPE == 12300 -#undef _unroll -#endif #if KERN_TYPE == 12800 #undef _unroll #endif #if KERN_TYPE == 12900 #undef _unroll #endif -#if KERN_TYPE == 13000 -#undef _unroll -#endif #if KERN_TYPE == 13721 #undef _unroll #endif @@ -236,7 +215,6 @@ #endif // Some algorithms break due to loop unrolling, it's unknown why, probably compiler bugs -// Can overlap with above cases #ifdef IS_AMD #ifdef IS_GPU From 306fc8a59a5b9e4b660e6cf504af142a397e1c88 Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 12 Nov 2016 21:20:03 +0100 Subject: [PATCH 3/3] Optimize unrolling for AMD based on AMDGPU-Pro 16.40 --- OpenCL/inc_vendor.cl | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/OpenCL/inc_vendor.cl b/OpenCL/inc_vendor.cl index a81641eac..fbd03c986 100644 --- a/OpenCL/inc_vendor.cl +++ b/OpenCL/inc_vendor.cl @@ -165,6 +165,27 @@ #ifdef IS_AMD #ifdef IS_GPU +#if KERN_TYPE == 1450 +#undef _unroll +#endif +#if KERN_TYPE == 1460 +#undef _unroll +#endif +#if KERN_TYPE == 1700 +#undef _unroll +#endif +#if KERN_TYPE == 1710 +#undef _unroll +#endif +#if KERN_TYPE == 1720 +#undef _unroll +#endif +#if KERN_TYPE == 1800 +#undef _unroll +#endif +#if KERN_TYPE == 3000 +#undef _unroll +#endif #if KERN_TYPE == 5200 #undef _unroll #endif @@ -192,6 +213,21 @@ #if KERN_TYPE == 8200 #undef _unroll #endif +#if KERN_TYPE == 8900 +#undef _unroll +#endif +#if KERN_TYPE == 10400 +#undef _unroll +#endif +#if KERN_TYPE == 10410 +#undef _unroll +#endif +#if KERN_TYPE == 10700 +#undef _unroll +#endif +#if KERN_TYPE == 10800 +#undef _unroll +#endif #if KERN_TYPE == 10900 #undef _unroll #endif @@ -210,6 +246,15 @@ #if KERN_TYPE == 13723 #undef _unroll #endif +#if KERN_TYPE == 13800 +#undef _unroll +#endif +#if KERN_TYPE == 14000 +#undef _unroll +#endif +#if KERN_TYPE == 14100 +#undef _unroll +#endif #endif #endif