1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Workaround too intensive optimization in -m 2000 using HIPRTC

This commit is contained in:
Jens Steube 2021-07-11 15:54:13 +02:00
parent fde4770219
commit 20f7febd4c
2 changed files with 13 additions and 7 deletions

View File

@ -168,7 +168,7 @@ DECLSPEC u64 rotr64_S (const u64 a, const int n)
#if ATTACK_EXEC == 11
CONSTANT_VK u32 generic_constant[8192]; // 32k
CONSTANT_VK u32 generic_constant[8192] __attribute__((used)); // 32k
#if ATTACK_KERN == 0
#define bfs_buf g_bfs_buf

View File

@ -956,6 +956,10 @@ void backend_info_compact (hashcat_ctx_t *hashcat_ctx)
if (user_options->machine_readable == true) return;
if (user_options->status_json == true) return;
/**
* CUDA
*/
if (backend_ctx->cuda)
{
int cuda_devices_cnt = backend_ctx->cuda_devices_cnt;
@ -1003,9 +1007,10 @@ void backend_info_compact (hashcat_ctx_t *hashcat_ctx)
event_log_info (hashcat_ctx, NULL);
}
/*
* HIP
*/
/**
* HIP
*/
if (backend_ctx->hip)
{
int hip_devices_cnt = backend_ctx->hip_devices_cnt;
@ -1053,9 +1058,10 @@ void backend_info_compact (hashcat_ctx_t *hashcat_ctx)
event_log_info (hashcat_ctx, NULL);
}
/*
* OCL
*/
/**
* OpenCL
*/
if (backend_ctx->ocl)
{
cl_uint opencl_platforms_cnt = backend_ctx->opencl_platforms_cnt;