Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change interfaces of OperatorBase, test=develop #23068

Closed
wants to merge 6 commits into from

Conversation

Shixiaowei02
Copy link
Contributor

@Shixiaowei02 Shixiaowei02 commented Mar 17, 2020

支持多流需要撤销 #6783 提交,本提交在主框架现有功能不变的前提下修改了两个接口,为后续修改做准备。

// 原接口
void OperatorBase::Run(const Scope& scope, const platform::Place& place); 
void OperatorBase::RunImpl(const Scope& scope, const platform::Place& place);
// 新接口
void OperatorBase::Run(const Scope& scope, const platform::DeviceContext& dev_ctx);
void OperatorBase::RunImpl(const Scope& scope, const platform::DeviceContext& dev_ctx);

@Shixiaowei02 Shixiaowei02 changed the title [DO NOT MERGE] Change interfaces of OperatorBase Change interfaces of OperatorBase, test=develop Mar 18, 2020
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.

1 participant