seems tile_fma kernel has index error and indexer of matrix has error as well
This commit is contained in:
@@ -83,13 +83,23 @@ namespace StgSharp
|
||||
}
|
||||
for (int j = 0; j < 40; j++)
|
||||
{
|
||||
string extra = j % 4 == 3 ? " \t" : ",\t";
|
||||
string extra = j % 4 == 3 ? " " : ",";
|
||||
double value = p[i, j];
|
||||
value = double.Abs(value) < 1e-6 ? 0 : value;
|
||||
Console.Write($"{value:0E+0}{extra}");
|
||||
}
|
||||
Console.WriteLine();
|
||||
}
|
||||
Console.WriteLine("===================================================");
|
||||
|
||||
double *buffer = (double*)p.Buffer;
|
||||
for (int i = 0; i < 40; i++)
|
||||
{
|
||||
for (int j = 0; j < 40; j++) {
|
||||
Console.Write($"{buffer[i * 40 + j]:0.0E0} ");
|
||||
}
|
||||
Console.WriteLine();
|
||||
}
|
||||
/**/
|
||||
|
||||
// --- Logarithmic time sequence test: print seconds at each emitted span ---
|
||||
|
||||
Reference in New Issue
Block a user