Skip to content

Commit

Permalink
add dll decl
Browse files Browse the repository at this point in the history
  • Loading branch information
chenwhql committed Apr 16, 2022
1 parent 4ad1cf4 commit d36f420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/phi/common/place.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ enum class PlaceType {
kGPU = static_cast<int>(phi::AllocationType::GPU),
};

bool operator==(const Place& place, PlaceType place_type);
bool operator==(PlaceType place_type, const Place& place);
PADDLE_API bool operator==(const Place& place, PlaceType place_type);
PADDLE_API bool operator==(PlaceType place_type, const Place& place);

} // namespace paddle

1 comment on commit d36f420

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.