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:
+1
-1
@@ -6142,7 +6142,7 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
|
||||
|
||||
#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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user