cuda thrust::remove_if throws “thrust::system::system_error” for device_vector?

前端 未结 1 1746
花落未央
花落未央 2020-12-12 05:31

I am currently using CUDA 7.5 under VS 2013. Today I needed to remove some of the elements from a device_vector, thus decided to use remove_if. But

相关标签:
1条回答
  • 2020-12-12 05:56

    The problem appears to be that OP was building a 32-bit project. The issue was resolved when switching to a 64-bit project.

    My recommendation for CUDA 7.5 and beyond is to only use 64-bit projects. If you review the current state of 32-bit support on windows and linux you'll find it's quite limited.

    Purely as a matter of conjecture, this issue may be related to thrust issue #715

    0 讨论(0)
提交回复
热议问题