but the random numbers run on the cpu and in every second only 1 range value
set maximum power 256 blocks on 256 threads it will fly
That doesn't work. There are too many blocks and threads for the graphics card. Only enter the number of blocks and threads that the graphics card supports, otherwise it won't find the key. You need to know that!