microsoft / microsoft/onnxruntime

Request examples for GPU inference with C API

Open
#6,618 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.