Skip to content

tvm: fix tvm unrolling - #124

Merged
guillon merged 1 commit into
xtc-tools:mainfrom
guillon:dev/cguillon/fix-tvm-unroll
Sep 2, 2026
Merged

tvm: fix tvm unrolling#124
guillon merged 1 commit into
xtc-tools:mainfrom
guillon:dev/cguillon/fix-tvm-unroll

Conversation

@guillon

@guillon guillon commented Sep 1, 2026

Copy link
Copy Markdown
Member

Motivation

Fix a bug introduced in recent refactoring for the support of TVM unroll factor.

Description

Update the tvm_update_loopnest_for_codegen which di not adjust the unrolling if the unrolled dimention was not tiled.

Added specific tests for the TVM adjustment of unrolling and vectorization.

Commits

Ref commit.

Discussion

n/a

@guillon
guillon requested a review from lfrenot September 1, 2026 16:55
@guillon guillon added the bug Something isn't working label Sep 1, 2026

@lfrenot lfrenot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM, the bug I had on my branch is fixed

@guillon
guillon force-pushed the dev/cguillon/fix-tvm-unroll branch from 4ce6676 to 73bcffc Compare September 2, 2026 10:05
@guillon guillon assigned guillon and unassigned lfrenot Sep 2, 2026
@guillon
guillon enabled auto-merge September 2, 2026 10:06
@guillon
guillon merged commit fe3f2b4 into xtc-tools:main Sep 2, 2026
4 checks passed
@guillon
guillon deleted the dev/cguillon/fix-tvm-unroll branch September 2, 2026 10:26
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants