Skip to content

Commit

Permalink
Disable compliler stick/unstick on zOS (#2888)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Eichenberger <[email protected]>
  • Loading branch information
AlexandreEichenberger authored Jul 25, 2024
1 parent e5b73a7 commit 603a8a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Accelerators/NNPA/Compiler/NNPACompilerUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ void configurePassesNNPA() {
// TODO: remove this if zDNN adds support for saturation.
if (nnpaEnableSaturation)
nnpaEnableCompilerStickUnstick = true;
// Currently nnpaEnableCompilerStickUnstick not supported on zOS.
// TODO enable on zOS
if (mtriple == "s390x-ibm-zos") {
nnpaEnableCompilerStickUnstick = false;
}
}

void addONNXToZHighPasses(mlir::PassManager &pm) {
Expand Down

0 comments on commit 603a8a2

Please sign in to comment.