Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120411045712.GA16524@openwall.com>
Date: Wed, 11 Apr 2012 08:57:12 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: cryptmd5.cu fails to build with -arch sm_13

On Wed, Apr 11, 2012 at 06:23:30AM +0200, Lukas Odzioba wrote:
> On my system it works for 13:
> cd cuda; nvcc -c -Xptxas -v -arch sm_13 cryptmd5.cu
> ptxas info    : Compiling entry function
> '_Z14kernel_crypt_rP18crypt_md5_passwordPj' for 'sm_13'
> ptxas info    : Used 28 registers, 64+0 bytes lmem, 10248+16 bytes
> smem, 21 bytes cmem[0], 40 bytes cmem[1]
> mv cuda/cryptmd5.o cuda_cryptmd5.o
> 
> my cuda_cryptmd5.h:
> #define BLOCKS 28
> #define THREADS 256
> 
> You have got 3 times more shared memory (Did you changed THREADS to
> 768?), and 10 registers more.

Oh, I'm sorry.  I forgot that I had local changes in that tree.
I just did a clean git clone.  The tree builds as-is.  However,
cryptmd5-opencl still fails at runtime for me, for all three devices
(Nvidia GPU, AMD GPU, CPU) in the same way that I reported in other
messages:

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=cryptmd5-opencl
OpenCL platform 0: NVIDIA CUDA, 1 device(s).
Using device 0: GeForce GTX 570
OpenCL error (CL_INVALID_VALUE) in file (common-opencl.c) at line (128) - (Error while getting build info)
user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=cryptmd5-opencl -pla=1
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
OpenCL error (CL_INVALID_VALUE) in file (common-opencl.c) at line (128) - (Error while getting build info)
user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=cryptmd5-opencl -pla=1 -dev=1
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 1: AMD FX(tm)-8120 Eight-Core Processor
OpenCL error (CL_INVALID_VALUE) in file (common-opencl.c) at line (128) - (Error while getting build info)

IIRC, this was determined to be some pathname processing error that you
were supposed to fix?

Thanks,

Alexander

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.