阅读背景:

我在核数中使用了C++ STL容器,就报这个错误,有什么解决办法吗?

来源:互联网 
错误 3 error : calling a __host__ function("std::vector<CHalfEdgeCell *, std::allocator<CHalfEdgeCell *> > ::operator []") from a __global__ function("GetAABBKernel") is not allowed D:\Projects\cuda_c++\cuda_c++\kernel.cu(17) (col. 17) 错误 3 error : calling a __host_



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: