Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171012162759.GA26754@fantomas.sk>
Date: Thu, 12 Oct 2017 18:27:59 +0200
From: Matus UHLAR - fantomas <uhlar@...tomas.sk>
To: john-users@...ts.openwall.com
Subject: opencl on amd (mesa ISC and clc-amd) fails

Hello,

my today's bleeding jumbo works with my intel GPU, but not with amdgpu:

the "ISO C99 requires whitespace after the macro name" appears at all
formats tried (yet).

apparently there should be space in "-D__MESA__-D__GPU__"
correct?

Device 1: AMD ICELAND (DRM 3.8.0 / 4.9.0-4-amd64, LLVM 3.9.1)
Benchmarking: descrypt-opencl, traditional crypt(3) [DES 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  $JOHN/kernels/DES_bs_hash_checking_kernel.cl
Build log: In file included from <built-in>:319:
<command line>:1:17: warning: ISO C99 requires whitespace after the macro name
In file included from input.cl:9:
/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.

-- 
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.
Remember half the people you know are below average. 

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.