Skip to content

Fix invocation of GetInputMemoryType. - #13828

Merged
Pranav Sharma (pranavsharma) merged 1 commit into
mainfrom
FixNewCustomOpAPI
Dec 3, 2022
Merged

Pranav Sharma (pranavsharma) merged 1 commit into
mainfrom
FixNewCustomOpAPI

Conversation

@pranavsharma

@pranavsharma Pranav Sharma (pranavsharma) commented Dec 2, 2022 •

Copy link
Copy Markdown
Contributor

Description

GetInputMemoryType was introduced in ver 13 in this PR. The ver check introduced in this PR allows custom ops compiled using older versions to work with newer versions (> 12) of the ORT binary.

Motivation and Context

Fixes binary compatibility.

@feihugis Fei Hu (feihugis) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pranav Sharma (@pranavsharma) for the fix! LGTM.

@pranavsharma
Pranav Sharma (pranavsharma) deleted the FixNewCustomOpAPI branch December 3, 2022 02:42
Baiju Meswani (baijumeswani) pushed a commit that referenced this pull request Dec 13, 2022
### Description
GetInputMemoryType was introduced in ver 13 in [this
PR](#10879). The ver check
introduced in this PR allows custom ops compiled using older versions to
work with newer versions (> 12) of the ORT binary.

### Motivation and Context
Fixes binary compatibility.
MS (simon-moo) pushed a commit to simon-moo/onnxruntime that referenced this pull request Dec 26, 2022
### Description
GetInputMemoryType was introduced in ver 13 in [this
PR](microsoft#10879). The ver check
introduced in this PR allows custom ops compiled using older versions to
work with newer versions (> 12) of the ORT binary.

### Motivation and Context
Fixes binary compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants