Skip to content

Commit

Permalink
fail early if the air pipeline is tried with current tiling strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
newling committed Sep 20, 2024
1 parent 754a01f commit 0d98a19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
16 changes: 2 additions & 14 deletions build_tools/ci/cpu_comparison/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,20 +854,8 @@ def all_tests(

else:
if verbose:
unicorn = r"""
/
,.. /
,' ';
,,.__ _,' /'; .
:',' ~~~~ '. '~ ----- "All tests passed."
:' ( ) )::,
'. '. .=----=..-~ .;'
' ;' :: ':. '"
(: ': ;)
\\ '" ./
'" '"
"""
print(unicorn)
good_news = r"\nAll tests passed."
print(good_news)



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,12 @@ void addPadPackBasedPassPipeline(OpPassManager &funcPassManager,

void addConvDecomposePassPipeline(OpPassManager &funcPassManager,
TilingConfig &tilingConfig) {

if (clUseLowerToAIEPipeline != LowerToAIEPassPipeline::AIR) {
assert(false &&
"Note that currently this convolution pipeline only supports the "
"objectFifo pipeline");
}
auto addCleanups = [&]() {
funcPassManager.addPass(createAMDAIECleanupPass());
funcPassManager.addPass(createCanonicalizerPass());
Expand Down

0 comments on commit 0d98a19

Please sign in to comment.