Skip to content

Implement CUDA_KERNEL_ASSERT for MSVC #39218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

peterjc123
Copy link
Collaborator

@peterjc123 peterjc123 commented May 29, 2020

Tested locally on CPU/GPU + Debug/Release.

@peterjc123 peterjc123 requested review from ezyang, malfet and ngimel May 29, 2020 04:01
@ngimel
Copy link
Collaborator

ngimel commented May 29, 2020

@peterjc123 awesome! Maybe with asserts enabled on windows this test

@unittest.skipIf(IS_WINDOWS, 'FIXME: CUDA OOM error on Windows')
can be reenabled?

@peterjc123
Copy link
Collaborator Author

I'll try to re-enable it.

@peterjc123
Copy link
Collaborator Author

cc @gchanan Maybe we should get this into v1.5.1.

@dr-ci
Copy link

dr-ci bot commented May 29, 2020

💊 CI failures summary and remediations

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


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

ci.pytorch.org: 1 failed


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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 4 times.

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.

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

@facebook-github-bot
Copy link
Contributor

@malfet merged this pull request in a5d4480.

peterjc123 added a commit to peterjc123/pytorch that referenced this pull request May 30, 2020
Summary:
Tested locally on CPU/GPU + Debug/Release.
Pull Request resolved: pytorch#39218

Differential Revision: D21786500

Pulled By: malfet

fbshipit-source-id: 7e871003d3509436952932b5ff3599e36bb8f205

# Conflicts:
#	test/test_cuda.py
malfet pushed a commit that referenced this pull request Jun 1, 2020
* Implement CUDA_KERNEL_ASSERT for MSVC (#39218)

Summary:
Tested locally on CPU/GPU + Debug/Release.
Pull Request resolved: #39218

Differential Revision: D21786500

Pulled By: malfet

fbshipit-source-id: 7e871003d3509436952932b5ff3599e36bb8f205

# Conflicts:
#	test/test_cuda.py

* Fix one more conflict
@peterjc123 peterjc123 deleted the cuda_kernel_assert_msvc branch June 4, 2020 09:32
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.

6 participants