Skip to content

Conversation

@jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Jan 12, 2022

PR types

Others

PR changes

Others

Describe

Replace platform::Place to pten::Place.

  1. remove all BOOST_GET_CONST for place.
  2. boost::apply_visitor -> paddle::platform::VisitPlace.
  3. memory::Copy support pten::Place.
  4. place.which() -> place.GetType()
  5. remove all forward declaration struct CPUPlace;.
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Avin0323 Avin0323 left a comment

Choose a reason for hiding this comment

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

LGTM for PR-CI-OP-Benchmark

@jiweibo jiweibo merged commit c48a9ad into PaddlePaddle:develop Jan 17, 2022
@jiweibo jiweibo deleted the place_for_all branch January 17, 2022 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

9 participants