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

CompareOp's kernel device type is decided by input tensor place #5465

Merged

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Nov 8, 2017

CompareOp can run on CPU even other operators are running on GPU, since
opeatations like comparing control flags should be performed only on CPU

@reyoung reyoung force-pushed the feature/compare_op_support_cpu branch from 37c4356 to 3187451 Compare November 8, 2017 04:21
CompareOp can run on CPU even other operators are running on GPU, since
opeatations like comparing control flags should be performed only on CPU
@reyoung reyoung requested a review from QiJune November 8, 2017 20:53
Copy link
Member

@QiJune QiJune left a comment

Choose a reason for hiding this comment

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

LGTM

@reyoung reyoung merged commit 7f22a6d into PaddlePaddle:develop Nov 8, 2017
@reyoung reyoung deleted the feature/compare_op_support_cpu branch December 26, 2017 09:30
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.

None yet

2 participants