|
Message-ID: <20171019080233.GA31691@fantomas.sk> Date: Thu, 19 Oct 2017 10:02:33 +0200 From: Matus UHLAR - fantomas <uhlar@...tomas.sk> To: john-users@...ts.openwall.com Subject: Re: opencl on amd (mesa ISC and clc-amd) fails On 12.10.17 18:27, Matus UHLAR - fantomas wrote: >apparently there should be space in "-D__MESA__-D__GPU__" >/home/uhlar/src/debian/john/bleeding-jumbo/run/kernels/opencl_DES_kernel_params.h:17:60: error: token is not a valid binary operator in a preprocessor subexpression ><command line>:1:27: note: expanded from here > >Error -11 building kernel $JOHN/kernels/DES_bs_hash_checking_kernel.cl. DEVICE_INFO=10 >OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in common-opencl.c:1109 - clBuildProgram failed. I have added in space after the "-D__MESA__ " in common-opencl.c and the error changed: Device 1: AMD ICELAND (DRM 3.8.0 / 4.9.0-4-amd64, LLVM 3.9.1) Benchmarking: mysql-sha1-opencl, MySQL 4.1+ [SHA1 OpenCL]... Options used: -I /home/uhlar/src/debian/john/bleeding-jumbo/run/kernels -cl-mad-enable -D__MESA__ -D__GPU__ -DDEVICE_INFO=10 -DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=13 -DDEV_VER_MINOR=0 -D_OPENCL_COMPILER -DTWICE -DOFFSET_TABLE_SIZE=14 -DHASH_TABLE_SIZE=13 -DSHIFT64_OT_SZ=2 -DSHIFT64_HT_SZ=3 -DSHIFT128_OT_SZ=4 -DSHIFT128_HT_SZ=9 -DNUM_LOADED_HASHES=13 -DNUM_INT_KEYS=1 -DSELECT_CMP_STEPS=4 -DBITMAP_SIZE_BITS_LESS_ONE=32767 -DUSE_LOCAL_BITMAPS=1 -DIS_STATIC_GPU_MASK=0 -DCONST_CACHE_SIZE=1925299814 -DLOC_0=-1 -DLOC_1=-1 -DLOC_2=-1 -DLOC_3=-1 $JOHN/kernels/sha1_kernel.cl Build log: input.cl:139:18: warning: unknown attribute 'max_constant_size' ignored <unknown>:0:0: in function sha1 void (i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(2)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*): unsupported initializer for address space Error -11 building kernel $JOHN/kernels/sha1_kernel.cl. DEVICE_INFO=10 OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in common-opencl.c:1109 - clBuildProgram failed. just for sure, the -list=opencl-devices output: Platform #1 name: Clover, version: OpenCL 1.1 Mesa 13.0.6 Device #0 (1) name: AMD ICELAND (DRM 3.8.0 / 4.9.0-4-amd64, LLVM 3.9.1) Device vendor: AMD Device type: GPU (LE) Device version: OpenCL 1.1 Mesa 13.0.6 Driver version: 13.0.6 - Catalyst Native vector widths: char 16, short 8, int 4, long 2 Preferred vector width: char 16, short 8, int 4, long 2 Global Memory: 3.0 GB Local Memory: 32.0 KB (Local) Max memory alloc. size: 1.0 GB Max clock (MHz): 980 Max Work Group Size: 256 Parallel compute cores: 6 Stream processors: 480 (6 x 80) Speed index: 470400 -- Matus UHLAR - fantomas, uhlar@...tomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. My mind is like a steel trap - rusty and illegal in 37 states.
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.