Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Fix batching test for PR 5977 #978

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Conversation

asudarsa
Copy link

@asudarsa asudarsa commented Apr 7, 2022

Signed-off-by: Arvind Sudarsanam [email protected]

Signed-off-by: Arvind Sudarsanam <[email protected]>
@asudarsa asudarsa requested a review from a team as a code owner April 7, 2022 03:12
@asudarsa
Copy link
Author

asudarsa commented Apr 7, 2022

/verify with intel/llvm#5977

@@ -166,7 +166,7 @@ int main(int argc, char *argv[]) {
validate(Y1, Z7, M * N);
validate(Y1, Z8, M * N);

for (size_t i = 0; i < 20; i++) {
for (size_t i = 0; i < 25; i++) {
Copy link

Choose a reason for hiding this comment

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

Could you please clarify why this change is needed. Does test fail when 20 iterations? Or do you want to test some specific behaviour with 25 iterations?

Copy link

Choose a reason for hiding this comment

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

Oh, I see from the comment to intel/llvm PR that test is failing when 20 iterations. Is it clear why it fails and is it expected to fail with 20 iterations?

Copy link
Author

Choose a reason for hiding this comment

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

In PR 5977, we are changing the thresholds that control how batching is done. This change is expected to give some performance improvements. It does change the way the batch size is lowered/raised and that's what we test here. So, a change is needed here. Thanks.

@againull againull self-requested a review April 12, 2022 21:36
@againull againull merged commit c4b7121 into intel:intel Apr 12, 2022
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Jun 17, 2022
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants