`nvexec::then` / `upon_error` / `upon_stopped` should handle callables that return by reference

Open
#958 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
api

Research direction

Search the repository for the implementations and tests of nvexec::then, upon_error, and upon_stopped. Check how callable results are passed to set_value, then verify that callables returning by reference are handled without decay-copying; done means the behavior matches the stated specification.

Written by the indexing model from the issue text.

Description

bug cuda P1

These algorithms are specified to pass the result of the callable directly to set_value without decay-copying it first.

Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
2d 17h
Merged PRs (30d)
37

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/stdexec

All issues in NVIDIA/stdexec

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.