course
course copied to clipboard
请教老师第8课cuda并行部分10_stencil部分bug
环境:ubuntu22.04
gcc:9
运行时出现/usr/include/c++/9/bits/stl_vector.h(130): error: no instance of constructor "CudaAllocator<T>::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
重新下载,已经修复msvc下编译会报错的bug。