/examples/nvexec/bulk.cpp using nvexec::multi_gpu_stream_context?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 270
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 39
Description
Hello,
I've been messing around with the library examples and noted that the /examples/nvexec/bulk.cpp does not compile when using nvexec::multi_gpu_stream_context. What is the "canonical" way to send a bulk job to a multi-gpu context?
I'm writting a multi-agent simulator, and currently I'm using:
const auto work2 = stdexec::when_all(
stdexec::just() |
exec::on(gpu, stdexec::bulk(environment->size, human_mosquito_contact)),
stdexec::just() |
exec::on(gpu,
stdexec::bulk(environment->size, mosquito_mosquito_contact)));
stdexec::sync_wait(std::move(work2));
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with /examples/nvexec/bulk.cpp and reproduce the compilation failure using nvexec::multi_gpu_stream_context. Inspect the example's bulk and multi-GPU context usage, then verify that the canonical multi-GPU bulk-job pattern compiles and runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100