Skip to content

Commit 73acb35

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

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ 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);
176178
if (value != expected) {
177179
mismatch = true;
178180
#ifdef VERBOSE_PRINT

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ 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);
467469
if (actual != expected) {
468470
mismatch = true;
469471
validated = false;
@@ -570,6 +572,8 @@ int main() {
570572
validated &=
571573
runTest<1, uint32_t, 1>(device, sycl::image_channel_type::unsigned_int32,
572574
globalSize1, localSize1);
575+
576+
printf("unorm_int8: %d\n", sycl::image_channel_type::unorm_int8);
573577
validated &= runTest<1, uint8_t, 4>(
574578
device, sycl::image_channel_type::unorm_int8, globalSize1, localSize1);
575579
validated &= runTest<1, float, 1>(device, sycl::image_channel_type::fp32,
@@ -589,6 +593,7 @@ int main() {
589593
validated &=
590594
runTest<2, uint32_t, 1>(device, sycl::image_channel_type::unsigned_int32,
591595
globalSize2[0], {16, 16});
596+
printf("unorm_int8: %d\n", sycl::image_channel_type::unorm_int8);
592597
validated &= runTest<2, uint8_t, 4>(
593598
device, sycl::image_channel_type::unorm_int8, globalSize2[1], {16, 8});
594599
validated &= runTest<2, float, 1>(device, sycl::image_channel_type::fp32,
@@ -611,6 +616,7 @@ int main() {
611616
validated &=
612617
runTest<3, uint32_t, 1>(device, sycl::image_channel_type::unsigned_int32,
613618
globalSize3[0], {16, 16, 1});
619+
printf("unorm_int8: %d\n", sycl::image_channel_type::unorm_int8);
614620
validated &= runTest<3, uint8_t, 4>(
615621
device, sycl::image_channel_type::unorm_int8, globalSize3[1], {16, 8, 2});
616622
validated &= runTest<3, float, 1>(device, sycl::image_channel_type::fp32,

0 commit comments

Comments
 (0)