请教老师第8课cuda并行部分10_stencil部分bug
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the lesson 8, section 10 stencil example on Ubuntu 22.04 with GCC 9 and inspect the CudaAllocator construction error reported in stl_vector.h. Done means the example builds and runs without this constructor error, with the cause and required change documented in the issue.
由索引模型根据 Issue 内容生成。
描述
环境: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
这个问题
- 主要语言
- C++
- 星标
- 4.2k
- 派生
- 555
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
parallel101/course 的其他 Issue
-
访问者设计模式缺少继承未关闭
难度 1/5 1-3 小时 新手友好度 68/100
parallel101/course#35 ·
-
难度 1/5 1 小时以内 新手友好度 62/100
parallel101/course#29 ·
-
难度 1/5 1 小时以内 新手友好度 45/100
parallel101/course#39 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
parallel101/course#38 ·
-
函数返回匿名结构体无法编译未关闭
难度 2/5 1-3 小时 新手友好度 45/100
parallel101/course#36 · 2 条评论 ·
查看 parallel101/course 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
? - Needs Triage bot_watch bug
难度 2/5 1-3 小时 新手友好度 68/100
NVIDIA/cudf-spark-jni#5267 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
(S1 - Need confirmation)
难度 2/5 1-3 小时 新手友好度 62/100
CleverRaven/Cataclysm-DDA#88974 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
microsoft/onnxruntime#33215 ·
维护者通常 2 天内回复