Skip to content

Allow a higher-precision step type for Vec256::arange#34555

Closed
xuhdev wants to merge 10 commits intogh/xuhdev/65/basefrom
gh/xuhdev/65/head
Closed

Allow a higher-precision step type for Vec256::arange#34555
xuhdev wants to merge 10 commits intogh/xuhdev/65/basefrom
gh/xuhdev/65/head

Conversation

@xuhdev
Copy link
Copy Markdown
Collaborator

@xuhdev xuhdev commented Mar 10, 2020

Stack from ghstack:

This is sometimes necessary, such as when T=int and the step size is of
type double.

Differential Revision: D20687063

This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Mar 11, 2020

💊 CircleCI build failures summary and remediations

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


None of the build failures appear to be your fault 💚


  • 1/1 broken upstream at merge base 0f0a5b1 from Mar 23 until Mar 24 (47 commits; 77ccb5c - 3f896ef)

    Please rebase on the viable/strict branch (expand for instructions)

    If your commit is newer than viable/strict, you can try basing on an older, stable commit:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase --onto FETCH_HEAD $(git merge-base origin/master HEAD)
    

    If your commit is older than viable/strict:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase FETCH_HEAD
    

    Check out the recency history of this "viable master" tracking branch.


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.

This comment has been revised 36 times.

@ngimel ngimel requested a review from VitalyFedyunin March 11, 2020 16:02
@ngimel ngimel added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Mar 11, 2020
xuhdev added 8 commits March 12, 2020 13:43
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
@xuhdev xuhdev requested a review from ssnl March 23, 2020 21:53
This is sometimes necessary, such as when T=int and the step size is of
type double.

[ghstack-poisoned]
@xuhdev xuhdev requested a review from ezyang March 24, 2020 18:51
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@ezyang merged this pull request in b33e38e.

@facebook-github-bot facebook-github-bot deleted the gh/xuhdev/65/head branch March 31, 2020 14:18
@gchanan
Copy link
Copy Markdown
Contributor

gchanan commented Mar 31, 2020

test?

@ezyang
Copy link
Copy Markdown
Contributor

ezyang commented Mar 31, 2020

@gchanan I figured it was going to be exercised in the follow up PR, and it was short, and we don't actually have direct tests for Vec256 at the moment (we probably should!)

facebook-github-bot pushed a commit that referenced this pull request Apr 3, 2020
Summary:
See #34555
Pull Request resolved: #35842

Differential Revision: D20824448

Pulled By: ngimel

fbshipit-source-id: d76d0d499cfd102386931e4c029829e02a657bce
facebook-github-bot pushed a commit that referenced this pull request May 22, 2021
Summary:
Need a templated 2nd parameter to support e.g. double steps even for int vectors.

This extends #34555 x86 specific fix to VSX instruction set.

Fixes #58551

Pull Request resolved: #58553

Reviewed By: ailzhang

Differential Revision: D28551266

Pulled By: malfet

fbshipit-source-id: de7d23685da06b1b3089933d74398667cfb43c9f
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Pull Request resolved: pytorch#34555

This is sometimes necessary, such as when T=int and the step size is of
type double.

Test Plan: Imported from OSS

Differential Revision: D20687063

Pulled By: ezyang

fbshipit-source-id: 33086d4252d06e7539733a9b1b3d6774e177b6da
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…35842)

Summary:
See pytorch#34555
Pull Request resolved: pytorch#35842

Differential Revision: D20824448

Pulled By: ngimel

fbshipit-source-id: d76d0d499cfd102386931e4c029829e02a657bce
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 25, 2026
Summary:
Need a templated 2nd parameter to support e.g. double steps even for int vectors.

This extends pytorch#34555 x86 specific fix to VSX instruction set.

Fixes pytorch#58551

Pull Request resolved: pytorch#58553

Reviewed By: ailzhang

Differential Revision: D28551266

Pulled By: malfet

fbshipit-source-id: de7d23685da06b1b3089933d74398667cfb43c9f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants