Skip to content

Don't truncate to index type in scatter/gather kernels#1469

Closed
killeent wants to merge 2 commits intopytorch:masterfrom
killeent:its-a-long
Closed

Don't truncate to index type in scatter/gather kernels#1469
killeent wants to merge 2 commits intopytorch:masterfrom
killeent:its-a-long

Conversation

@killeent
Copy link
Contributor

@killeent killeent commented May 4, 2017

Test Plan: ran test for scatter/gather

src, &srcOffset);

IndexType indexValue = (IndexType)index.data[indexOffset] - TH_INDEX_BASE;
long indexValue = index.data[indexOffset] - TH_INDEX_BASE;

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@soumith
Copy link
Collaborator

soumith commented May 8, 2017

this is now merged into master

@soumith soumith closed this May 8, 2017
zasdfgbnm pushed a commit to zasdfgbnm/pytorch that referenced this pull request Feb 22, 2022
Fixes pytorch#1466

Note that this is a WAR, not a proper fix on codegen to handle size-0
jagadish-amd pushed a commit to jagadish-amd/pytorch that referenced this pull request Sep 5, 2024
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.

4 participants