Skip to content

Commit 603a8a2

Browse files
Disable compliler stick/unstick on zOS (#2888)
Signed-off-by: Alexandre Eichenberger <[email protected]>
1 parent e5b73a7 commit 603a8a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Accelerators/NNPA/Compiler/NNPACompilerUtils.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ void configurePassesNNPA() {
5252
// TODO: remove this if zDNN adds support for saturation.
5353
if (nnpaEnableSaturation)
5454
nnpaEnableCompilerStickUnstick = true;
55+
// Currently nnpaEnableCompilerStickUnstick not supported on zOS.
56+
// TODO enable on zOS
57+
if (mtriple == "s390x-ibm-zos") {
58+
nnpaEnableCompilerStickUnstick = false;
59+
}
5560
}
5661

5762
void addONNXToZHighPasses(mlir::PassManager &pm) {

0 commit comments

Comments
 (0)