You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to make user-defined types act like environments. We do this for example for stream_ref which is an environment that answers to the get_stream CPO, but how do other libraries achieve that?
expected nesting of environments by CUB (e.g. the tuning environment is nested within the outer environment containing e.g. the memory resource)
Document nvcc restrictions on function-scope policy-selector structs per this comment
We should also document what operations are supported on environments. This may go to the developer documentation:
what functions can I call? Like query_or or call_or, etc.
how do I extract a stream, memory resource, tuning, determinism, etc?
what are the default values we should use of an environment query fails? [partially handled by https://github.com/Add environment docs landing page with essential info #10043]
are environments copyable, movable, ..? How do we pass them around?
@gevtushenko I am assigning this to you since you had a major influence on the CUB environment API design. I would be happy if you could put together some information on the questions above, or add some links to documents with further information, etc. I can also write up some of the documentation (I will probably write the tuning part). We may also want to have input from @ericniebler, @miscco and @pciolkosz.
@bernhardmgruber I converted this issue into a checklist so that we have actionable items. I also cross referenced with #7712 asks/checklist so that no duplicates exist in the two working lists.
Consider Jake's issue as the entry level documentation and this (yours) issue as an enhancement on the existing entry docs
Activity
bernhardmgruber commentedon Jan 16, 2026
@gevtushenko I am assigning this to you since you had a major influence on the CUB environment API design. I would be happy if you could put together some information on the questions above, or add some links to documents with further information, etc. I can also write up some of the documentation (I will probably write the tuning part). We may also want to have input from @ericniebler, @miscco and @pciolkosz.
Document CUB environments
gonidelis commentedon Jul 21, 2026
@bernhardmgruber I converted this issue into a checklist so that we have actionable items. I also cross referenced with #7712 asks/checklist so that no duplicates exist in the two working lists.
Consider Jake's issue as the entry level documentation and this (yours) issue as an enhancement on the existing entry docs
Document CUB environments