Skip to content

Commit

Permalink
Bumping bytecode version due to breaking HAL changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Aug 23, 2022
1 parent a38bce2 commit 19c5cf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/iree/vm/bytecode_module_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19c5cf7

Please sign in to comment.