非常感谢您阅读我的帖子。我正在做CUDA工作,但一直收到cudaDeviceSynchronize()错误代码77:cudaErrorIllegalAddress,不知道为什么。我搜索了代码和函数,令人惊讶的是,只有几条记录出现了。很奇怪。我基本上总结了图像的所有像素。为了让我的问题有尽可能多的引用,我在这里展示了我所有的CUDA代码:#include"cuda_runtime.h"#include"device_launch_parameters.h"#include"thorcalgpu.h"#include#include"math.h"#include#include#incl