报错:no suitable user-defined conversion from "CudaAllocator<int>" to "CudaAllocator<std::_Container_proxy>" exists
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system, hpc
Research direction
The report points to the project generated under 08课程04_sugar\01 with Visual Studio 2022. First reproduce the build or run error and inspect the CudaAllocator-related code and project configuration; done means the generated project runs without the reported conversion error.
Written by the indexing model from the issue text.
Description
在08课程04_sugar\01下面生成 visual studio 2022 项目之后,运行报错如下:
“no suitable user-defined conversion from "CudaAllocator" to "CudaAllocatorstd::_Container_proxy" exists”,请问老师如何修改?
- Dominant language
- C++
- Stars
- 4.2k
- Forks
- 555
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from parallel101/course
-
访问者设计模式缺少继承Open
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
parallel101/course#35 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
parallel101/course#29 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
parallel101/course#39 ·
-
C++17之后才保证new一定对齐。Open
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
parallel101/course#38 ·
-
函数返回匿名结构体无法编译Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
parallel101/course#36 · 2 comments ·
All issues in parallel101/course
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
EsotericSoftware/spine-runtimes#3186 ·
-
Round video messages start gray and blocky with libx264: encoder is configured for 1,000,000 fpsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
telegramdesktop/tdesktop#31422 ·
Maintainers usually reply within 9 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zen-browser/desktop#15809 · 1 reaction ·
Maintainers usually reply within 1 day