I used cuda-memcheck to check my programm. The following message was presented. Why?
========= Invalid global write of size 4
========= at 0x00000268 in gpuGenerateVerletList(float3*, int*, unsigned long, int*, float*, float, bool*)
========= by thread (31,0,0) in block (0,0,0)
========= Address 0x1f06aa007c is out of bounds
========= Saved host backtrace up to driver entry point at kernel launch time
========= Host Frame:/usr/lib64/libcuda.so.1 (cuLaunchKernel + 0x2c5) [0x204235]
========= Host Frame:t10 [0x1b9a1]
========= Host Frame:t10 [0x39543]
========= Host Frame:t10 [0x5df4]
========= Host Frame:t10 [0x5021]
========= Host Frame:t10 [0x508c]
========= Host Frame:t10 [0x3bdb]
========= Host Frame:/lib64/libc.so.6 (__libc_start_main + 0xfd) [0x1ed1d]
========= Host Frame:t10 [0x2d69]