Skip to content

Commit efe8feb

Browse files
clang-format
Signed-off-by: Zhang, Winston <[email protected]>
1 parent bef3fea commit efe8feb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,10 @@ int runTest(D3D11ProgramState &d3d11ProgramState, sycl::queue syclQueue,
213213
// E.g. LevelZero does not support `unorm` channel types.
214214
if (!bindless_helpers::memoryAllocationSupported(
215215
syclImageDesc, syclexp::image_memory_handle_type::opaque_handle,
216-
syclQueue) || (channelType == sycl::image_channel_type::unorm_int8 &&
217-
syclQueue.get_device().get_backend() == sycl::backend::ext_oneapi_level_zero)) {
216+
syclQueue) ||
217+
(channelType == sycl::image_channel_type::unorm_int8 &&
218+
syclQueue.get_device().get_backend() ==
219+
sycl::backend::ext_oneapi_level_zero)) {
218220
// We cannot allocate the image memory, skip the test.
219221
#ifdef VERBOSE_PRINT
220222
std::cout << "Memory allocation unsupported. Skipping test.\n";

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ runTest(DX12SYCLDevice &device, sycl::image_channel_type channelType,
525525

526526
// Skip unorm_int8 tests for Level Zero backend
527527
if (channelType == sycl::image_channel_type::unorm_int8 &&
528-
device.getSyclQueue().get_device().get_backend() == sycl::backend::ext_oneapi_level_zero) {
528+
device.getSyclQueue().get_device().get_backend() ==
529+
sycl::backend::ext_oneapi_level_zero) {
529530
std::cout << "Skipping unorm_int8 test for Level Zero backend.\n";
530531
return true;
531532
}

0 commit comments

Comments
 (0)