microsoft / microsoft/onnxruntime
Request examples for GPU inference with C API
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
Dear friends,
Could you please provide an example to show how place CPU data to GPU and inference with C API ?
It would be appreciate if you like give some API more examples, such as CreateAllocator, RunWithBinding.
Thanks in advance.
Best Regards,
Contributor guide
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 by reviewing the C API entry points named in the request: CreateAllocator and RunWithBinding. Trace how CPU data is placed on the GPU for inference, then document examples covering those flows and the requested API usage. Done means the examples clearly demonstrate GPU inference through the C API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- api, machine-learning
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100