mirror of
https://github.com/hashcat/hashcat.git
synced 2025-05-07 17:39:10 +00:00
Change rc_board_name_amd initial value to CL_INVALID_VALUE. If CHECK_BOARD_NAME_AMD is changed to 0, there is a problem with CL_SUCCESS which equals to 0, device will be skipped.
This commit is contained in:
parent
b3d18f86e2
commit
e133bd4ec4
@ -6142,7 +6142,7 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
|
|||||||
|
|
||||||
#define CHECK_BOARD_NAME_AMD 1
|
#define CHECK_BOARD_NAME_AMD 1
|
||||||
|
|
||||||
cl_int rc_board_name_amd = 0;
|
cl_int rc_board_name_amd = CL_INVALID_VALUE;
|
||||||
|
|
||||||
if (CHECK_BOARD_NAME_AMD)
|
if (CHECK_BOARD_NAME_AMD)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user