美文网首页
编译onnxruntime:no instance of ove

编译onnxruntime:no instance of ove

作者: qizhen816 | 来源:发表于2020-09-04 14:57 被阅读0次

    主要还是较低的cuda版本中没有atomicAdd实现,修改git目录下的onnxruntime/core/providers/cuda/atomic/common.cuh文件,把#if __CUDA_ARCH__<后面的数值都改成1000。1000表示cuda10.0,要使这个数值大于本机cuda版本。

    来源https://github.com/microsoft/onnxruntime/issues/4158

    相关文章

      网友评论

          本文标题:编译onnxruntime:no instance of ove

          本文链接:https://www.haomeiwen.com/subject/yafdrktx.html