parallel101 / course

高性能并行编程与优化 - 课件
https://space.bilibili.com/263032155
Other
3.62k stars 532 forks source link

请教老师第8课cuda并行部分10_stencil部分bug #20

Open niexiaoiq1999 opened 1 year ago

niexiaoiq1999 commented 1 year ago

环境:ubuntu22.04 gcc:9 运行时出现/usr/include/c++/9/bits/stl_vector.h(130): error: no instance of constructor "CudaAllocator::CudaAllocator [with T=float]" matches the argument list detected during instantiation of "std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp=float, _Alloc=CudaAllocator]" (337): here 这个问题

archibate commented 1 year ago

重新下载,已经修复msvc下编译会报错的bug。