Skip to content

Comments

fix cmp function when OrtDevice is in std::set#13324

Merged
souptc merged 1 commit intoPEfrom
leca/ortDeviceCmp
Oct 15, 2022
Merged

fix cmp function when OrtDevice is in std::set#13324
souptc merged 1 commit intoPEfrom
leca/ortDeviceCmp

Conversation

@jslhcl
Copy link
Contributor

@jslhcl jslhcl commented Oct 14, 2022

Description

The current compare function to decide whether two elements in std::set in SessionState::ResolveMemoryPatternFlag() is not right, which caused mem_pattern_ different behavior between main and pe branch

Motivation and Context

This change is to make mem_pattern_ the same behavior between main and pe branch

@souptc souptc merged commit 709f424 into PE Oct 15, 2022
@souptc souptc deleted the leca/ortDeviceCmp branch October 15, 2022 00:44
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.

2 participants