Skip to content

Replace THError() check in THCTensorMathReduce.cu with#49424

Closed
aakshintala wants to merge 1 commit intopytorch:masterfrom
aakshintala:export-D25567863
Closed

Replace THError() check in THCTensorMathReduce.cu with#49424
aakshintala wants to merge 1 commit intopytorch:masterfrom
aakshintala:export-D25567863

Conversation

@aakshintala
Copy link
Copy Markdown

Summary: Standardization FTW

Test Plan:
Checked that the code still builds with

buck build //caffe2/aten:ATen-cu

Also ran basic aten tests

buck test //caffe2/aten:atest

Differential Revision: D25567863

Summary: Standardization FTW

Test Plan:
Checked that the code still builds with
```
buck build //caffe2/aten:ATen-cu
```
Also ran basic aten tests
```
buck test //caffe2/aten:atest
```

Differential Revision: D25567863

fbshipit-source-id: 4afdc468ada83e753b46ecf06487c16b1e83f44a
@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Dec 15, 2020

💊 CI failures summary and remediations

As of commit b136846 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

This comment has been revised 3 times.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D25567863

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 16f4b0e.

hwangdeyu pushed a commit to hwangdeyu/pytorch that referenced this pull request Jan 6, 2021
…L_LAUNCH_CHECK() (pytorch#49424)

Summary:
Pull Request resolved: pytorch#49424

As per conversation in this [comment](https://www.internalfb.com/intern/diff/D25541113 (https://github.com/pytorch/pytorch/commit/e2510a0b60232aba5160ceb18b6ece8c59a9b79d)/?dest_fbid=393026838623691&transaction_id=3818008671564312) on D25541113 (pytorch@e2510a0), although THError does more than just log any errors associated cuda kernel launches, we're going to go ahead and replace it with C10_CUDA_KERNEL_LAUNCH_CHECK, so as to be consistent throughout the code base.
Standardization FTW.

This commit is purposefully sent in as a single file change so it can be easily reverted if it introduces a regression.

Test Plan:
Checked that the code still builds with
```
buck build //caffe2/aten:ATen-cu
```
Also ran basic aten tests
```
buck test //caffe2/aten:atest
```

Reviewed By: r-barnes

Differential Revision: D25567863

fbshipit-source-id: 1093bfe2b6ca6b9a3bfb79dcdc5d713f6025eb77
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.

2 participants