CUDA:全局内存原子atomic函数的简单使用的实例 #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h>