主要还是较低的cuda版本中没有atomicAdd
实现,修改git目录下的onnxruntime/core/providers/cuda/atomic/common.cuh
文件,把#if __CUDA_ARCH__<
后面的数值都改成1000。1000表示cuda10.0,要使这个数值大于本机cuda版本。
主要还是较低的cuda版本中没有atomicAdd
实现,修改git目录下的onnxruntime/core/providers/cuda/atomic/common.cuh
文件,把#if __CUDA_ARCH__<
后面的数值都改成1000。1000表示cuda10.0,要使这个数值大于本机cuda版本。
本文标题:编译onnxruntime:no instance of ove
本文链接:https://www.haomeiwen.com/subject/yafdrktx.html
网友评论