1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 13:40:56 +00:00

Add special ROCM detection in OpenCL/inc_vendor.h

This commit is contained in:
Jens Steube 2020-01-25 12:09:39 +01:00
parent 247d1a91a5
commit 3561e7b8d7

View File

@ -88,6 +88,10 @@
#define IS_GENERIC
#endif
#if defined IS_AMD && HAS_VPERM == 1
#define IS_ROCM
#endif
#define LOCAL_MEM_TYPE_LOCAL 1
#define LOCAL_MEM_TYPE_GLOBAL 2
@ -152,6 +156,11 @@
#define USE_ROTATE
#endif
#ifdef IS_ROCM
#define USE_BITSELECT
#define USE_ROTATE
#endif
#ifdef IS_OPENCL
//#define USE_BITSELECT
//#define USE_ROTATE