Workaround too intensive optimization in -m 2000 using HIPRTC

pull/2883/head
Jens Steube 3 years ago
parent fde4770219
commit 20f7febd4c

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

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

Loading…
Cancel
Save