microsoft / microsoft/onnxruntime-extensions

How to implement a C++ custom op with cuda support?

Open
#181 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
479
Forks
144
Avg merge
1d 8h
Merged PRs (30d)
11

Description

How to implement a C++ custom op with cuda support?
Moreover, I didn't even find a detailed example about how to write a c++ costom op in C++, there is just an outdated tutorial: https://github.com/microsoft/onnxruntime-extensions/blob/main/tutorials/cpp_custom_ops_tutorial.md.

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.

Research direction

Start by reviewing tutorials/cpp_custom_ops_tutorial.md, which the issue identifies as outdated, and compare it with the current C++ custom-op and CUDA support guidance in the repository. Done means providing a current, detailed example that explains how to implement a C++ custom op with CUDA support.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 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.