L4 is now a burden

This commit is contained in:
Youmu Liu
2026-05-20 18:07:54 +08:00
parent 4694fd9433
commit 0681237c3b
@@ -25,6 +25,7 @@
// //
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
using StgSharp.HighPerformance.Memory;
using System; using System;
using System.Numerics; using System.Numerics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
@@ -42,6 +43,14 @@ namespace StgSharp.Mathematics.Numeric.Runtime
} }
[StructLayout(LayoutKind.Explicit)]
internal unsafe ref struct MatrixTask
{
[FieldOffset(0)]public L4CacheLine Line;
}
internal unsafe struct MatrixExecutionHandle { } internal unsafe struct MatrixExecutionHandle { }
[StructLayout(LayoutKind.Explicit)] [StructLayout(LayoutKind.Explicit)]