From 19c5cf79ffdda67ee3845e698307d5f34d97544e Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Tue, 23 Aug 2022 16:28:16 -0700 Subject: [PATCH] Bumping bytecode version due to breaking HAL changes. --- .../iree/compiler/Dialect/VM/Target/Bytecode/BytecodeEncoder.h | 2 +- runtime/src/iree/vm/bytecode_module_impl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/BytecodeEncoder.h b/compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/BytecodeEncoder.h index c2753fdf9a8ba..85cf7f0fdcead 100644 --- a/compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/BytecodeEncoder.h +++ b/compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/BytecodeEncoder.h @@ -32,7 +32,7 @@ struct EncodedBytecodeFunction { class BytecodeEncoder : public VMFuncEncoder { public: // Matches IREE_VM_BYTECODE_VERSION_MAJOR. - static constexpr uint32_t kVersionMajor = 9; + static constexpr uint32_t kVersionMajor = 10; // Matches IREE_VM_BYTECODE_VERSION_MINOR. static constexpr uint32_t kVersionMinor = 0; static constexpr uint32_t kVersion = (kVersionMajor << 16) | kVersionMinor; diff --git a/runtime/src/iree/vm/bytecode_module_impl.h b/runtime/src/iree/vm/bytecode_module_impl.h index ae0593fadfb94..1988181227608 100644 --- a/runtime/src/iree/vm/bytecode_module_impl.h +++ b/runtime/src/iree/vm/bytecode_module_impl.h @@ -33,7 +33,7 @@ extern "C" { // Major bytecode version; mismatches on this will fail in either direction. // This allows coarse versioning of completely incompatible versions. // Matches BytecodeEncoder::kVersionMajor in the compiler. -#define IREE_VM_BYTECODE_VERSION_MAJOR 9 +#define IREE_VM_BYTECODE_VERSION_MAJOR 10 // Minor bytecode version; lower versions are allowed to enable newer runtimes // to load older serialized files when there are backwards-compatible changes. // Higher versions are disallowed as they occur when new ops are added that