[FEA]: Resource-Based Buffer Creation and Consumption Example
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
Implement an example with two functions: one accepting a resource to create an async_buffer, and another consuming it. Both should have host and device paths based on resource/buffer properties, showing how execution space selection propagates via types. Prefer host execution if available, as all our resources are device-accessible.
Demonstrate API usage such as:
auto buffer = produce_buffer(some_resource);
consume_buffer(buffer);
Contributor guide
Assessment
This issue has not been assessed yet.