Skip to content

Commit b4b3ce6

Browse files
logging fix
1 parent a92eda5 commit b4b3ce6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/clang/unittests/HLSLExec/ExecutionTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12350,10 +12350,11 @@ void ExecutionTest::runCoopVecMulSubtest(
1235012350

1235112351
LogCommentFmt(
1235212352
L"Running test for InputPerThread: %d, OutputPerThread: %d, NumThreads: "
12353-
L"%d, NumLayers: %d, Bias: %s, MatrixLayout: %s",
12353+
L"%d, NumLayers: %d, Bias: %s, MatrixLayout: %s, Stage: %s",
1235412354
Config.InputPerThread, Config.OutputPerThread, Config.NumThreads,
1235512355
Config.NumLayers, Config.Bias ? L"true" : L"false",
12356-
CoopVecHelpers::MatrixLayoutToFilterString(Config.MatrixLayout).c_str());
12356+
CoopVecHelpers::MatrixLayoutToFilterString(Config.MatrixLayout).c_str(),
12357+
RunCompute ? L"Compute" : L"Pixel");
1235712358

1235812359
const int OutputBufferSize = (Config.OutputPerThread * Config.NumThreads * 4);
1235912360

@@ -12829,8 +12830,7 @@ float4 ps_main() : SV_Target {
1282912830
fabs(Result - Expected) > 0.00001) {
1283012831
LogErrorFmt(L"Result mismatch at index %d",
1283112832
i * Config.OutputPerThread + j);
12832-
LogErrorFmt(L"Result: %f, Expected: %f (stage: %s)", Result,
12833-
Expected, RunCompute ? L"compute" : L"pixel");
12833+
LogErrorFmt(L"Result: %f, Expected: %f", Result, Expected);
1283412834
Equal = false;
1283512835
}
1283612836
}

0 commit comments

Comments
 (0)