going on big buffer, need three diff task scheduler
This commit is contained in:
@@ -73,11 +73,11 @@ namespace StgSharp.Mathematics.Numeric
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct MatrixOpMode
|
||||
public struct MatrixOpMode(MatrixOperationStyle style, MatrixOperationParam paramLayout)
|
||||
{
|
||||
|
||||
public MatrixOperationParam ParameterStyle;
|
||||
public MatrixOperationStyle OperationStyle;
|
||||
public MatrixOperationParam ParameterStyle = paramLayout;
|
||||
public MatrixOperationStyle OperationStyle = style;
|
||||
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace StgSharp.Mathematics.Numeric
|
||||
#region source
|
||||
|
||||
// Group 1: Left/Right matrix kernel base address
|
||||
[FieldOffset(0)]public IntPtr Left; // 8
|
||||
[FieldOffset(0)] public IntPtr Left; // 8
|
||||
[FieldOffset(8)] public IntPtr Right; // 8
|
||||
|
||||
#endregion
|
||||
@@ -106,7 +106,7 @@ namespace StgSharp.Mathematics.Numeric
|
||||
|
||||
// Group 2: Result kernel base address + reserved
|
||||
[FieldOffset(16)] public IntPtr Result; // 8
|
||||
[FieldOffset(24)]public int ElementSize;
|
||||
[FieldOffset(24)] public int ElementSize;
|
||||
[FieldOffset(28)] public int ReservedPtr0; // 4 (extension/reserved)
|
||||
|
||||
#endregion
|
||||
@@ -158,8 +158,8 @@ namespace StgSharp.Mathematics.Numeric
|
||||
|
||||
[FieldOffset(112)]public int PrimTileOffset; // 4
|
||||
[FieldOffset(116)]public int SecTileOffset; // 4
|
||||
[FieldOffset(120)]public int PrimCountInTile; // 4
|
||||
[FieldOffset(124)]public int SecCountInTile; // 4
|
||||
[FieldOffset(120)] public int PrimColumnCountInTile; // 4
|
||||
[FieldOffset(124)] public int SecColumnCountInTile; // 4
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user