Skip to content

Try to fix https://github.com/csarofeen/pytorch/issues/286#295

Merged
jjsjann123 merged 2 commits into20_7_6_develfrom
back2indexing
Aug 15, 2020
Merged

Try to fix https://github.com/csarofeen/pytorch/issues/286#295
jjsjann123 merged 2 commits into20_7_6_develfrom
back2indexing

Conversation

@csarofeen
Copy link
Copy Markdown
Owner

Attempt to fix: #286

@csarofeen
Copy link
Copy Markdown
Owner Author

CC @naoyam to remind me to talk this crazy PR through with him Monday.

Copy link
Copy Markdown
Collaborator

@jjsjann123 jjsjann123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't see anything wrong in this PR. Let's clean it up and get everything upstream!

Comment thread test/cpp/jit/test_gpu.cpp
}

void testGPU_FusionSmemBlockGemmCache() {
#if 0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we open an issue to track the breakage of this test, just so we won't forgot that something is disabled in cpp tests via macro and test is giving us a pass.

[this](IterDomain* id) { return is_contig_root.at(id); }))) {
[this](IterDomain* id) {
return is_contig_root.at(id) && !id->isBroadcast() &&
!id->isReduction();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this actually fix the issue with broadcasting & contiguous simultaneously marked on a tensor?
The issue I reported in #230 actually went away in this PR.

@jjsjann123 jjsjann123 merged commit c16d735 into 20_7_6_devel Aug 15, 2020
@csarofeen csarofeen deleted the back2indexing branch June 9, 2021 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codegen error on broadcast

2 participants