[Inductor] Fix cooperative reduction tests broken in recent refactor (#143135)

These tests were broken by https://github.com/pytorch/pytorch/pull/142020. This PR updates the fixed configs accordingly.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/143135
Approved by: https://github.com/jansel, https://github.com/huydhn
This commit is contained in:
Blaine Burton Rister
2024-12-13 02:03:43 +00:00
committed by PyTorch MergeBot
parent 9f5ebf3fc6
commit dbe4b69df0

View File

@ -146,12 +146,12 @@ class TestFixedConfigs(TestCase):
@parametrize(
"persistent,cooperative,cfg",
[
(False, False, {"XBLOCK": 1, "RBLOCK": 128}),
(False, False, {"XBLOCK": 2, "RBLOCK": 128}),
(False, False, {"XBLOCK": 1, "R0_BLOCK": 128}),
(False, False, {"XBLOCK": 2, "R0_BLOCK": 128}),
(True, False, {"XBLOCK": 1}),
(True, False, {"XBLOCK": 2}),
(False, True, {"XBLOCK": 1, "RBLOCK": 128, "RSPLIT": 16}),
(False, True, {"XBLOCK": 2, "RBLOCK": 128, "RSPLIT": 16}),
(False, True, {"XBLOCK": 1, "R0_BLOCK": 128, "RSPLIT": 16}),
(False, True, {"XBLOCK": 2, "R0_BLOCK": 128, "RSPLIT": 16}),
(True, True, {"XBLOCK": 1, "RSPLIT": 16}),
(True, True, {"XBLOCK": 2, "RSPLIT": 16}),
],