CUDA_ERROR_INVALID_IMAGE during cuModuleLoad

后端 未结 2 892
北恋
北恋 2020-12-22 04:05

I\'ve created a very simple kernel (can be found here) which I successfully compile using

\"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v5.5\\bin         


        
2条回答
  •  感情败类
    2020-12-22 04:07

    Happens if you compile for different machine types - for example 32 vs 64.

    If you have 32bits app, add --machine 32 to the nvcc param and it will be fine.

提交回复
热议问题