bhamon / gpuPlotGenerator

GPU plot generator for Burst coin
Other
44 stars 27 forks source link

[ERROR][-54][CL_INVALID_WORK_GROUP_SIZE] Error in step1 kernel launch #60

Open Quix0r opened 5 years ago

Quix0r commented 5 years ago

I'm getting this error message with latest master code:

$ ./gpuPlotGenerator generate direct ./5125679745162198123_50000_10000_2000_2
-------------------------
GPU plot generator v4.2.2
-------------------------
Author:   Cryo
Bitcoin:  138gMBhCrNkbaiTCmUhP9HLU9xwn5QKZgD
Burst:    BURST-YA29-QCEW-QXC3-BKXDL
----
Loading platforms...
Loading devices...
Loading devices configurations...
Initializing generation devices...
    [0] Device: GeForce GTX 650 Ti BOOST (OpenCL 1.2 CUDA)
    [0] Device memory: 245MB
    [0] CPU memory: 245MB
Initializing generation contexts...
    [0] Path: ./5125679745162198123_50000_10000_10000_2
    [0] Nonces: 50000 to 59999 (2GB 452MB)
    [0] CPU memory: 500MB
----
Devices number: 1
Plots files number: 1
Total nonces number: 10000
CPU memory: 745MB
----
Generating nonces...
0.00% (0/10000 remaining nonces), 0.00 nonces/minutes, ETA: 6d 22h 40m 0s...
[ERROR][-54][CL_INVALID_WORK_GROUP_SIZE] Error in step1 kernel launch

devices.txt: 0 0 980 132 8192

bhamon commented 5 years ago

Hello,

What is the content of your devices.txt file? Based on the reported error (CL_INVALID_WORK_GROUP_SIZE) it seems that the globalWorkSize is invalid for your GPU.

Regards

--- Edit

I've just seen it at the end of your message. Please test with powers of 2 at first for globalWorkSize and localWorkSize values (1024 / 128).

Quix0r commented 5 years ago

Hi,

so you mean 2, 4, 8, 16, 32, ... ? The 980 and 132 came from the setup command as recommended values, maybe you can check this?

bhamon commented 5 years ago

Yes. The setup command can only guess optimal values depending on your GPU memory, compute cores and logical groups sizes. However, many cards have physical restrictions that OpenCL can't see. Based on community tests we somehow figured out that multiples of 2 have a better chance of success. I've added a suggestion in the setup manual (https://github.com/bhamon/gpuPlotGenerator#setup).

Quix0r commented 5 years ago

A power of 2 did work here. Thank you. :-) BTW: How much HDD is minimum recommended? And creating plots this way is a bit complicated as you cannot set plotsize=512G for 512 GByte plot size. But it is okay, time to find the optimal value out. :-)