1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 15:18:16 +00:00

Optimize unrolling for AMD based on AMDGPU-Pro 16.40

This commit is contained in:
jsteube 2016-11-12 20:23:15 +01:00
parent d6b6c8dbbd
commit ac44087c83

View File

@ -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