Skip to content

Commit 7b1d40c

Browse files
test3
Signed-off-by: Zhang, Winston <[email protected]>
1 parent 73acb35 commit 7b1d40c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

sycl/test-e2e/bindless_images/dx11_interop/read_write_unsampled.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ bool verifyResult(D3D11ProgramState &d3d11ProgramState,
173173
}
174174
auto value = bufferData[bufferIndex];
175175
auto expected = inputData[i] * 2;
176-
printf("value: %d\n", value);
177-
printf("expected: %d\n", expected);
176+
178177
if (value != expected) {
179178
mismatch = true;
180179
#ifdef VERBOSE_PRINT
@@ -195,7 +194,8 @@ bool verifyResult(D3D11ProgramState &d3d11ProgramState,
195194
}
196195
// Unmap the staging texture
197196
pDeviceContext->Unmap(stagingTexture.Get(), 0);
198-
197+
printf("value: %d\n", value);
198+
printf("expected: %d\n", expected);
199199
return !mismatch;
200200
}
201201

sycl/test-e2e/bindless_images/dx12_interop/read_write_unsampled.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,6 @@ bool DX12InteropTest<NDims, DType, NChannels>::validateOutput() {
464464
auto expected = m_inputData[i] * 2;
465465
auto actual = pReadbackBufferData[i];
466466

467-
printf("value: %d\n", actual);
468-
printf("expected: %d\n", expected);
469467
if (actual != expected) {
470468
mismatch = true;
471469
validated = false;

0 commit comments

Comments
 (0)