Skip to content

Conversation

@xuhdev
Copy link
Collaborator

@xuhdev xuhdev commented May 29, 2019

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

are you sure a grain_size of 1 is the best here? I'd expect that for small tensors the overhead of parallelizing it would dominate.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I changed this to internal::GRAIN_SIZE. Hope it is sufficient.

@xuhdev xuhdev force-pushed the aten/parallel-eye branch from b42b6ca to 4de87fe Compare May 29, 2019 19:35
@xuhdev xuhdev force-pushed the aten/parallel-eye branch from 4de87fe to ff73177 Compare May 30, 2019 21:56
@xuhdev
Copy link
Collaborator Author

xuhdev commented Jun 4, 2019

Any chance to get this merged :)

@soumith
Copy link
Contributor

soumith commented Jun 4, 2019

@ifedan please merge them

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.

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 856e351.

@xuhdev xuhdev deleted the aten/parallel-eye branch June 6, 2019 17:39
zdevito pushed a commit to zdevito/ATen that referenced this pull request Jun 6, 2019
Summary: Pull Request resolved: pytorch/pytorch#21077

Differential Revision: D15695329

Pulled By: ezyang

fbshipit-source-id: 9841777238dac7c08cde2db3cd9401853f633af3
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.

8 participants