Skip to content

Commit 398f319

Browse files
authored
Merge branch 'main' into isnan
2 parents c9576bc + bfa3924 commit 398f319

21 files changed

+44
-37
lines changed

lib/API/DX/Device.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ class DXDevice : public offloadtest::Device {
10221022
HR::toError(IS.CmdList->Close(), "Failed to close command list."))
10231023
return Err;
10241024

1025-
ID3D12CommandList *CmdLists[] = {IS.CmdList.Get()};
1025+
ID3D12CommandList *const CmdLists[] = {IS.CmdList.Get()};
10261026
IS.Queue->ExecuteCommandLists(1, CmdLists);
10271027

10281028
return waitForSignal(IS);
@@ -1213,13 +1213,13 @@ class DXDevice : public offloadtest::Device {
12131213
static_cast<uint32_t>(B.getElementSize() * B.OutputProps.Width);
12141214
const uint32_t Height = static_cast<uint32_t>(B.OutputProps.Height);
12151215

1216-
uint8_t *SrcBase = reinterpret_cast<uint8_t *>(Mapped);
1216+
const uint8_t *SrcBase = reinterpret_cast<uint8_t *>(Mapped);
12171217
uint8_t *DstBase =
12181218
reinterpret_cast<uint8_t *>(P.Bindings.RTargetBufferPtr->Data[0].get());
12191219

12201220
// Copy rows in reverse order.
12211221
for (uint32_t Y = 0; Y < Height; ++Y) {
1222-
uint8_t *SrcRow = SrcBase + static_cast<size_t>(Y) * RowPitch;
1222+
const uint8_t *SrcRow = SrcBase + static_cast<size_t>(Y) * RowPitch;
12231223
uint8_t *DstRow =
12241224
DstBase + static_cast<size_t>(Height - 1 - Y) * RowBytes;
12251225
memcpy(DstRow, SrcRow, RowBytes);

test/Basic/Matrix/matrix_elementwise_vector_cast.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ DescriptorSets:
7373
...
7474
#--- end
7575

76-
# Unimplemented: https://github.com/llvm/llvm-project/issues/170538
77-
# XFAIL: Vulkan && Clang
76+
# Bug https://github.com/llvm/offload-test-suite/issues/599
77+
# XFAIL: Intel && Vulkan && Clang
7878

7979
# RUN: split-file %s %t
8080
# RUN: %dxc_target -T cs_6_0 -Fo %t.o %t/source.hlsl

test/Basic/Matrix/matrix_trunc_cast.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ DescriptorSets:
5656
...
5757
#--- end
5858

59-
# Unimplemented: https://github.com/llvm/llvm-project/issues/170538
60-
# XFAIL: Vulkan && Clang
59+
# Bug https://github.com/llvm/offload-test-suite/issues/599
60+
# XFAIL: Intel && Vulkan && Clang
6161

6262
# RUN: split-file %s %t
6363
# RUN: %dxc_target -T cs_6_0 -Fo %t.o %t/source.hlsl

test/Bugs/Adjacent-Partial-Writes.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ DescriptorSets:
6969
# https://github.com/llvm/llvm-project/issues/142677
7070
# UNSUPPORTED: Vulkan
7171

72+
# Bug https://github.com/llvm/offload-test-suite/issues/330
73+
# XFAIL: AMD && DirectX
74+
7275
# RUN: split-file %s %t
7376
# RUN: %dxc_target -T cs_6_5 -Fo %t.o %t/source.hlsl
7477
# RUN: %offloader %t/pipeline.yaml %t.o

test/Feature/HLSLLib/asdouble.32.test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ DescriptorSets:
8282
Binding: 2
8383
#--- end
8484

85-
# Bug https://github.com/llvm/llvm-project/issues/153513
86-
# XFAIL: Clang && Vulkan
87-
8885
# Bug https://github.com/microsoft/DirectXShaderCompiler/issues/7699
8986
# XFAIL: DXC && Vulkan
9087

test/Feature/HLSLLib/asin.32.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ DescriptorSets:
6161
...
6262
#--- end
6363

64+
# Bug https://github.com/llvm/offload-test-suite/issues/578
65+
# XFAIL: AMD && Vulkan
6466

6567
# RUN: split-file %s %t
6668
# RUN: %dxc_target -T cs_6_5 -Fo %t.o %t/source.hlsl

test/Feature/HLSLLib/countbits.64.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ DescriptorSets:
9797
# https://github.com/llvm/llvm-project/issues/142677
9898
# UNSUPPORTED: Vulkan
9999

100+
# Bug https://github.com/llvm/offload-test-suite/issues/331
101+
# XFAIL: AMD && DirectX
102+
100103
# RUN: split-file %s %t
101104
# RUN: %dxc_target -T cs_6_5 -Fo %t.o %t/source.hlsl
102105
# RUN: %offloader %t/pipeline.yaml %t.o

test/Feature/HLSLLib/dot2add.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ DescriptorSets:
8989
# Bug https://github.com/llvm/offload-test-suite/issues/341
9090
# XFAIL: Metal
9191

92-
# Bug https://github.com/llvm/llvm-project/issues/149561
93-
# XFAIL: Clang && Vulkan && !VK_KHR_shader_float_controls2
92+
# Bug https://github.com/llvm/llvm-project/issues/149561 and https://github.com/llvm/offload-test-suite/issues/568
93+
# XFAIL: Clang && Vulkan
9494

9595
# REQUIRES: Half
9696
# RUN: split-file %s %t

test/Feature/HLSLLib/firstbithigh.16.test

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ DescriptorSets:
8282

8383
# REQUIRES: Int16
8484

85-
# Bug: No bit set terminal is returned as 4294901776 instead of 4294967295
86-
# XFAIL: DXC && Metal
87-
# Bug: Fails with 'gpu-exec: error: Failed to materializeAll.:'
88-
# XFAIL: Clang && Metal
85+
# Bug https://github.com/llvm/offload-test-suite/issues/602
86+
# XFAIL: Metal
8987

9088
# 16/64 bit firstbithigh doesn't have a DXC-Vulkan lowering
9189
# Unsupported https://github.com/microsoft/DirectXShaderCompiler/blob/main/tools/clang/test/CodeGenSPIRV/intrinsics.firstbitlow.64bit.hlsl

test/Feature/HLSLLib/firstbithigh.64.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ DescriptorSets:
8282

8383
# REQUIRES: Int64
8484

85-
# Bug: Fails with 'gpu-exec: error: Failed to materializeAll.:'
85+
# Bug https://github.com/llvm/offload-test-suite/issues/605
8686
# XFAIL: Metal
8787

8888
# 16/64 bit firstbithigh doesn't have a DXC-Vulkan lowering
@@ -92,6 +92,9 @@ DescriptorSets:
9292
# Bug https://github.com/llvm/llvm-project/issues/143171
9393
# XFAIL: Clang && Vulkan
9494

95+
# Bug https://github.com/llvm/offload-test-suite/issues/324
96+
# XFAIL: NV && DirectX
97+
9598
# RUN: split-file %s %t
9699
# RUN: %dxc_target -T cs_6_5 -Fo %t.o %t/source.hlsl
97100
# RUN: %offloader %t/pipeline.yaml %t.o

0 commit comments

Comments
 (0)