Skip to content

Typo fix#21122

Closed
ilia-cher wants to merge 1 commit intopytorch:masterfrom
ilia-cher:export-D15553921
Closed

Typo fix#21122
ilia-cher wants to merge 1 commit intopytorch:masterfrom
ilia-cher:export-D15553921

Conversation

@ilia-cher
Copy link
Contributor

Summary: fix a typo

Differential Revision: D15553921

Summary: fix a typo

Differential Revision: D15553921

fbshipit-source-id: ec9a46864e1c2b41fb725bc33bad23d7f548c6f5
@pytorchbot pytorchbot added the module: internals Related to internal abstractions in c10 and ATen label May 30, 2019
void intraop_launch(std::function<void()> func) {
if (!in_parallel_region()) {
internal::_get_intraop_pool.run([func](){
internal::_get_intraop_pool().run([func](){
Copy link
Contributor

Choose a reason for hiding this comment

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

_get_intra_op_pool() might be more readable.

zdevito pushed a commit to zdevito/ATen that referenced this pull request May 30, 2019
Summary:
Pull Request resolved: pytorch/pytorch#21122

fix a typo

Reviewed By: dzhulgakov

Differential Revision: D15553921

fbshipit-source-id: 260b0be5975d49bb6d70e45d83505efcecf02875
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3805490.

@ezyang
Copy link
Contributor

ezyang commented May 30, 2019

It doesn't seem like this typo caused any build failures. What happened?

@ilia-cher
Copy link
Contributor Author

@ezyang you need to set AT_PARALLEL_NATIVE=1 to compile it, we should add a few CI builds with it

@ezyang
Copy link
Contributor

ezyang commented May 31, 2019

@ilia-cher can you take point on adding the CI here? Alternately, if you can arrange to remove the compilation flag entirely, or minimize it so that only a small if statement is compiled optionally, that would be even better.

@ilia-cher
Copy link
Contributor Author

ilia-cher commented May 31, 2019

@ezyang I'll need some changes from @kostmo to add new CI builds, I don't think there's a way to remove or minimize its usage, it's a switch between different parallel implementations

@ezyang
Copy link
Contributor

ezyang commented May 31, 2019 via email

@ilia-cher
Copy link
Contributor Author

@ezyang they're mutually exclusive, so without some trickery we can't link them both

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

Labels

Merged module: internals Related to internal abstractions in c10 and ATen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants