OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon

This commit is contained in:
Gabriele Gristina
2021-12-24 17:30:49 +01:00
parent cb7f99ef79
commit 861e644057
6 changed files with 119 additions and 91 deletions
+4
View File
@@ -103,4 +103,8 @@ int generic_salt_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, const u8
int input_tokenizer (const u8 *input_buf, const int input_len, hc_token_t *token);
#if defined (__APPLE__)
bool is_apple_silicon (void);
#endif
#endif // _SHARED_H