SEMANTICS_VERSION 2079, RUNTIME_VERSION 2197: matmul2d of 8-bit floats into float
matmul2d now translates e4m3 and e5m2 products into a float destination in the shape qualified on
the M3 Max (32x32x32, static k, one simdgroup), decoding each byte exactly. Anything outside that
shape keeps a typed refusal. On a device with its own 8-bit float type (VK_EXT_shader_float8), it's
refused NotImplemented until the native conversion is built, so no device emulates where a native
form exists (owner rule 1). VK_EXT_shader_float8 is enabled where listed. That changes the
translation (SEMANTICS) and the device enables (RUNTIME).
Verified by the change's own runs: 261/261 touched tests (24411, 24435); lint 24487 and 24492.
Lavapipe against the 18 M3 cases: 11 Match, and 7 e5m2 Mismatch that differ only in NaN words
(Metal 0x7fc00000 against llvmpipe's 0xffc00000), classified Unbounded{NativeNanEncoding}.
Census rows 327-330 go from refused at the type check to the linked-function endpoint.
This commit is contained in:
1 parent
9689f5934b
commit
01d290ce6e
1 file changed
+2
-2
Vendored
+2
-2
@@ -60,7 +60,7 @@ mod tests;
|
||||
/// unchanged version, and its bless records the version. Independent of the crate's version and of
|
||||
/// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no
|
||||
/// history.
|
||||
pub const SEMANTICS_VERSION: u32 = 2078;
|
||||
pub const SEMANTICS_VERSION: u32 = 2079;
|
||||
|
||||
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
|
||||
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another
|
||||
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 515;
|
||||
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
|
||||
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
|
||||
/// keeps no history.
|
||||
pub const RUNTIME_VERSION: u32 = 2196;
|
||||
pub const RUNTIME_VERSION: u32 = 2197;
|
||||
|
||||
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
|
||||
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles
|
||||
|
||||
Reference in new issue
Block a user