针对你遇到的错误 error: no instance of overloaded function "atomicAdd" matches the argument list,这个问题通常与CUDA编程中的函数重载和GPU计算能力(Compute Capability)有关。以下是一些可能的解决方案和检查点: 检查CUDA版本和GPU计算能力: atomicAdd 函数在不同版本的CUDA和不同的GPU计算能力下可能有不同的实...
cuda error : no instance of overloaded function “atomicAdd“ matches the argument list 我的是RTX4080Ti显卡,但是发现Code Generation写的sm_52,于是将compute_52,sm_52 改成compute_86,sm_86问题就解决了
编译onnxruntime:no instance of overloaded function "atomicAdd" matches the argument list 主要还是较低的cuda版本中没有atomicAdd实现,修改git目录下的onnxruntime/core/providers/cuda/atomic/common.cuh文件,把#if __CUDA_ARCH__<后面的数值都改成1000。1000表示cuda10.0,要使这个数值大于本机cuda版本。 来源...