cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mulisak
Journeyman III

Re: Please help with clBuildProgram crash / segmentation fault

Unfortunately your reply does not help make the program work under 13.xxx drivers.

I know the patch for Tahiti, I wrote it.

Program was working with older hardware and 12.10 drivers, it is not working with 13.xx amd drivers anymore (but it did work after using older amd sdk 2.7 and overwriting ocl* libraries - see above)

tested your program :

$ time ./a.out |grep -vE "(HW|SW|PASS|Corr|src0)"

Advanced Micro Devices, Inc.

Tahiti

real    0m9.954s

user    0m5.147s

sys     0m6.366s

==============

installed : amd-catalyst-13.11-beta1-linux-x86.x86_64.run

and latest AMD APP SDK

# uname -a

Linux private.rionet.cz 3.11.3-201.fc19.x86_64 #1 SMP Thu Oct 3 00:47:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

===but here CPU and GPU results differ====

D=vanitygen.worked.with.amd.12.10

git clone https://github.com/samr7/vanitygen.git $D

cd $D

wget https://gist.github.com/mnmnm/6954063/raw/e6546b40c82990106fe7dcf4f48554704b759cd7/tahiti.patch

patch -p1 < tahiti.patch

make

./oclvanitygen  -v -i -d0 -k 1Lostx

Prefix difficulty:             32453485 1Lostx

Difficulty: 32453485

Device: Tahiti

Vendor: Advanced Micro Devices, Inc. (1002)

Driver: 1311.2 (VM)

Profile: FULL_PROFILE

Version: OpenCL 1.2 AMD-APP (1311.2)

Max compute units: 28

Max workgroup size: 256

Global memory: 2386558976

Max allocation: 1073741824

OpenCL compiler flags: -DDEEP_PREPROC_UNROLL -DVERY_EXPENSIVE_BRANCHES -DDEEP_VLIW

Loading kernel binary ce86061ed5322c51fec9fb904d9b205f.oclbin

Grid size: 3584x2048

Modular inverse: 7168 threads, 1024 ops each

Using OpenCL prefix matcher

[19.21 Mkey/s][total 22020096][Prob 49.3%][50% in 0.0s]                        Match idx: 12

CPU hash: a2dfd461c7c66f833277b65ae05616517241ee68

GPU hash: d947a4d0f2967514e326ff22924fd8c8b3235465

Found delta: 5898094 Start delta: 22020097

Match idx: 8

CPU hash: a1d0c4621d7627a9420415c5d6f4a8c38d4065ea

GPU hash: d932c65afdf4f267367904eea07ff9e00730ab77

So please forward to developers.

Thanks a lot.

Best regards.

m.

0 Likes
himanshu_gautam
Grandmaster

Re: Please help with clBuildProgram crash / segmentation fault

Hi Mulisak,

Thanks for coming back on this.

Unless I have a petite test-case (like what I wrote), I cannot raise a report

None has the time to look at vanitygen source code, understand what it does and then find out what is going on..

And what if, at the end of it --- it was a bug in your program....Well, Nobody can rule out this possibility.

So Practically, this is not going to work.

If you can isolate the bug to a particular fragment of OpenCL code,I will definitely file a case for you.

Best,

Bruhaspati

0 Likes
mulisak
Journeyman III

Re: Please help with clBuildProgram crash / segmentation fault

Hi,sorry,I am out of free time, but tested latest amd linux driver 13.11b6 and latest AMD R9 280x and AMD APP SDK 2.9

problem persists, different CPU and GPU hash results

$ ./oclvanitygen -v -i -d0 -k 1Lostx

Prefix difficulty:             32453485 1Lostx

Difficulty: 32453485

Device: Tahiti

Vendor: Advanced Micro Devices, Inc. (1002)

Driver: 1348.4 (VM)

Profile: FULL_PROFILE

Version: OpenCL 1.2 AMD-APP (1348.4)

Max compute units: 32

Max workgroup size: 256

Global memory: 2989490176

Max allocation: 1073741824

OpenCL compiler flags: -DDEEP_PREPROC_UNROLL -DVERY_EXPENSIVE_BRANCHES -DDEEP_VLIW

Compiling kernel, can take minutes...done!

Build log:

Grid size: 4096x2048

Modular inverse: 8192 threads, 1024 ops each

Using OpenCL prefix matcher

Match idx: 10

CPU hash: 93b02a4c6c1236e56a8b6113bbcfa454b1894016

GPU hash: d9332273aa7b03dca30303537a8ee223da015074

Found delta: 8075058 Start delta: 1

GPU idle: 1.18%                                                               

Match idx: 8

CPU hash: cb0a79aed222c28b22dd00ddac078bda2543f500

GPU hash: d932c66131afdf57fa7aa8ceb1afd80e5c3ee6d0

Found delta: 7358441 Start delta: 33554433

[19.71 Mkey/s][total 58720256][Prob 83.6%][90% in 0.8s]

0 Likes
pinform
Staff
Staff

Re: Please help with clBuildProgram crash / segmentation fault

Reviving the thread.  Do you still see this problem?

--Prasad

0 Likes