Skip to content

Conversation

@PenghuiCheng
Copy link
Contributor

the speed-up of a single operation is up to 6X on BDW.

@PenghuiCheng
Copy link
Contributor Author

@wesolwsk,Please review the commit.
Thanks!
cheng,Penghui

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

wesolwsk has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@wesolwsk
Copy link
Contributor

Getting lots of errors as follows:

caffe2/caffe2/core/operator.h: In instantiation of ‘const T& caffe2::OperatorBase::Input(int) [with T = caffe2::Tensor]’:
caffe2/caffe2/ideep/operators/momentum_sgd_op.cc:55:55: required from here
caffe2/caffe2/core/operator.h:68:5: error: static assertion failed: You should use Input(int, DeviceType) for Tensor.
static_assert(
^

@PenghuiCheng
Copy link
Contributor Author

@wesolwsk ,I had updated code. Please review it.
Thanks!
cheng,Penghui

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

wesolwsk has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@wesolwsk
Copy link
Contributor

please make the following fixes and rebase

screen shot 2018-09-19 at 2 12 28 pm

@wesolwsk
Copy link
Contributor

^ @PenghuiCheng

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

wesolwsk has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@PenghuiCheng
Copy link
Contributor Author

@wesolwsk ,for line 37 and line78,ShadowingClass warning,I didn't know how to change it,do you have some suggestions for this?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants