CUDA threads index and global memory 1D array value assignment

NA