Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK_fNXTsvij8o4Cr-LbBiBVOObMKP1oaj025DB=XnpJoHU_OxQ@mail.gmail.com>
Date: Mon, 31 Aug 2020 13:44:40 +0200
From: Axymeus <axymeus@...il.com>
To: john-users@...ts.openwall.com
Subject: opencl_device_info.h not found

I've been trying to enable OpenCL on Windows 10 Pro. After pointing
the nvidia.icd file to nvopencl64.dll jtr is now able to find the
device:

> john.exe --list=opencl-devices
Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 11.0.208
    Device #0 (1) name:     GeForce RTX 2070 SUPER
    Device vendor:          NVIDIA Corporation
    Device type:            GPU (LE)
    Device version:         OpenCL 1.2 CUDA
    Driver version:         451.67 [recommended]
    Native vector widths:   char 1, short 1, int 1, long 1
    Preferred vector width: char 1, short 1, int 1, long 1
    Global Memory:          8 GB
    Global Memory Cache:    1280 KB
    Local Memory:           48 KB (Local)
    Constant Buffer size:   64 KB
    Max memory alloc. size: 2 GB
    Max clock (MHz):        1800
    Profiling timer res.:   1000 ns
    Max Work Group Size:    1024
    Parallel compute cores: 40
    CUDA cores:             2560  (40 x 64)
    Speed index:            4608000
    Warp size:              32
    Max. GPRs/work-group:   65536
    Compute capability:     7.5 (sm_75)
    Kernel exec. timeout:   no
    PCI device topology:    01:00.0

But running john.exe --format=rar-opencl hash8.txt fails with the
following error. What  can I do please? Thank you.

Device 1: GeForce RTX 2070 SUPER
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
Will run 12 OpenMP threads
Options used: -I /run/kernels -cl-mad-enable -DSM_MAJOR=7 -DSM_MINOR=5
-D__GPU__ -DDEVICE_INFO=1048594 -D__SIZEOF_HOST_SIZE_T__=8
-DDEV_VER_MAJOR=451 -DDEV_VER_MINOR=67 -D_OPENCL_COMPILER
-DPLAINTEXT_LENGTH=22 -DHASH_LOOPS=0x4000 /run/kernels/rar_kernel.cl
Build log: <kernel>:20:10: fatal error: 'opencl_device_info.h' file not found
#include "opencl_device_info.h"
         ^

Error building kernel /run/kernels/rar_kernel.cl. DEVICE_INFO=1048594
0: OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in opencl_common.c:1386
- clBuildProgram

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.