1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-25 17:38:23 +00:00

Fix vector datatypes usage for HIP

This commit is contained in:
jsteube 2023-06-10 19:01:35 +00:00
parent dbc9019284
commit e6c97eb51b

View File

@ -112,6 +112,15 @@ typedef u64 u64x;
#if defined IS_CUDA || defined IS_HIP
#ifndef __device_builtin__
#define __device_builtin__
#endif
#ifndef __builtin_align__
#define __builtin_align__(x)
#endif
#if VECT_SIZE == 2
struct __device_builtin__ __builtin_align__(2) u8x