btcrecover icon indicating copy to clipboard operation
btcrecover copied to clipboard

Intel Arc A750 --enable-opencl support

Open Lia-4c6961 opened this issue 2 years ago • 1 comments

Running seedrecover.py with --enable-opencl on Intel Arc A750, gives the following warnings and the speed that it gets it's just as much as it would be by running on cpu without the --enable-opencl.

Build on <pyopencl.Device 'Intel(R) Arc(TM) A750 Graphics' on 'Intel(R) OpenCL HD Graphics' at 0x16828779bc0> succeeded, but said:

1:128:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long'
    def_printFromWord(__private, printFromWord, "")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1:120:32: note: expanded from macro 'def_printFromWord'
                printf("%02x", v);              \
                        ~~~~   ^
1:129:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long'
    def_printFromWord(__global, printFromWord_glbl, "")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1:120:32: note: expanded from macro 'def_printFromWord'
                printf("%02x", v);              \
                        ~~~~   ^
1:130:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long'
    def_printFromWord(__private, printFromWord_n, "\n")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1:120:32: note: expanded from macro 'def_printFromWord'
                printf("%02x", v);              \
                        ~~~~   ^
1:131:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long'
    def_printFromWord(__global, printFromWord_glbl_n, "\n")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1:120:32: note: expanded from macro 'def_printFromWord'
                printf("%02x", v);              \
                        ~~~~   ^
1:628:20: warning: initializing '__global unsigned long *' with an expression of type 'unsigned long const __global[4]' discards qualifiers
    __global word *pwdBuffer = pwdbuffer_arg[0].buffer;
                   ^           ~~~~~~~~~~~~~~~~~~~~~~~
  warn(text, CompilerWarning)

Lia-4c6961 avatar Feb 19 '23 11:02 Lia-4c6961

Not currently supported on Intel GPUs

3rdIteration avatar Feb 23 '23 13:02 3rdIteration