Skip to content

Commit 07d5ce8

Browse files
Merge pull request #431 from Xilinx/matthias.fix_duplicate_symbol
Fix duplicate symbol getGenOpMix<ONNXRoundOp>
2 parents aced82d + ea01c72 commit 07d5ce8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Conversion/ONNXToKrnl/ONNXToKrnlCommon.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ GenOpMix getGenOpMix(mlir::Type elementType, mlir::Operation *op) {
268268
return {{GenericOps::ScalarOnlyGop, 1}};
269269
}
270270

271+
template <>
272+
GenOpMix getGenOpMix<mlir::ONNXRoundOp>(
273+
mlir::Type elementType, mlir::Operation *op);
274+
271275
//===----------------------------------------------------------------------===//
272276
// Type conversion from Onnx types to Krnl types:
273277
// - from Tensor type to the Standard dialect MemRef type

0 commit comments

Comments
 (0)