add "-arch=sm_11" option to nvcc command in order to call atomicAdd() function in CUDA C