KEMBAR78
Dispatch the correct legacy function for geqrf_out and ormqr_out by vishwakftw · Pull Request #16964 · pytorch/pytorch · GitHub
Skip to content

Conversation

@vishwakftw
Copy link
Contributor

This fixes the segfault.

Changelog:

  • Modify the function calls in LegacyDefinitions for geqrf_out and ormqr_out

Test Plan:

  • Modified test_ormqr with out passed in the function.
  • Added a geqrf test for CPU and CUDA.

Fixes #16957

cc: @gchanan

This fixes the segfault.

Changelog:
- Modify the function calls in LegacyDefinitions for `geqrf_out` and `ormqr_out`

Test Plan:
- Modified `test_ormqr` with `out` passed in the function.
- Added a `geqrf` test for CPU and CUDA.
Copy link
Contributor

@gchanan gchanan left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

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

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.

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

zdevito pushed a commit to zdevito/ATen that referenced this pull request Feb 12, 2019
…964)

Summary:
This fixes the segfault.

Changelog:
- Modify the function calls in LegacyDefinitions for `geqrf_out` and `ormqr_out`
Pull Request resolved: pytorch/pytorch#16964

Differential Revision: D14025985

Pulled By: gchanan

fbshipit-source-id: aa50e2c1694cbf3642273ee14b09ba12625c7d33
@vishwakftw vishwakftw deleted the ormqr-geqrf-segfault-fix branch February 27, 2019 02:12
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.

geqrf with out argument crash with segfault

4 participants