Skip to content

Extend cuda_flip to unsigned types #137781

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 1 commit into from

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Oct 11, 2024

Using AT_DISPATCH_V2

Test plan: python3 -c "import torch;print(torch.randint(0, 100, (4, 4), dtype=torch.uint16, device='cuda').flip(0))"
Fixes #137770

Using AT_DISPATCH_V2

Fixes #137770
@malfet malfet requested review from ezyang, ptrblck and a team October 11, 2024 14:34
@malfet malfet requested review from eqy and syed-ahmed as code owners October 11, 2024 14:34
Copy link

pytorch-bot bot commented Oct 11, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/137781

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 47160a7 with merge base e30c55e (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the release notes: cuda release notes category label Oct 11, 2024
@malfet malfet added the topic: improvements topic category label Oct 11, 2024
@malfet
Copy link
Contributor Author

malfet commented Oct 11, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 11, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

jackzhxng pushed a commit that referenced this pull request Oct 16, 2024
Using AT_DISPATCH_V2

Test plan: `python3 -c "import torch;print(torch.randint(0, 100, (4, 4),  dtype=torch.uint16, device='cuda').flip(0))"`
Fixes #137770

Pull Request resolved: #137781
Approved by: https://github.com/Skylion007
@github-actions github-actions bot deleted the malfet/extend-flip-to-unsigned-types branch November 11, 2024 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: cuda release notes category topic: improvements topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when first convert data type and then flip
3 participants