Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
SKU: windows-amd
TestTarget: check-hlsl-clang-warp-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On -DWARP_VERSION=1.0.15-preview
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On -DWARP_VERSION=1.0.17
2 changes: 1 addition & 1 deletion .github/workflows/windows-amd-dxc-warp-preview-d3d12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
BuildType: Debug
TestTarget: check-hlsl-warp-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DWARP_VERSION=1.0.15-preview
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DWARP_VERSION=1.0.17
2 changes: 1 addition & 1 deletion cmake/modules/Warp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function(setup_warp version)
guess_nuget_arch(NUGET_ARCH)

if (version STREQUAL "LKG")
set(version "1.0.15")
set(version "1.0.17")
set(version_description "Latest Known Good for ${NUGET_ARCH} (${version})")
else ()
set(version_description "Custom (${version})")
Expand Down
5 changes: 3 additions & 2 deletions test/WaveOps/WaveActiveMax.test
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ DescriptorSets:
#--- end

# RUN: split-file %s %t
# RUN: %dxc_target -T cs_6_0 -Fo %t.o %t/source.hlsl
# RUN: %dxc_target -T cs_6_0 -Gis -Fo %t.o %t/source.hlsl
# RUN: %offloader %t/pipeline.yaml %t.o | FileCheck %s

# The behavior of this operation is consistent on Metal, so the test verifies that behavior.
Expand All @@ -87,7 +87,8 @@ DescriptorSets:
# DirectX driver implementations seem to match SPIR-V, except WARP, which does
# not treat -INF as an identity.

# XFAIL: DirectX && WARP
# XFAIL: arm64 && DirectX && WARP

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an XFAIL for DirectX and Nvidia.
We are expecting [ inf, inf, inf, inf ] but Nvidia it is [ inf, 0, inf, inf ]. First try the GIS flag if that doesn't work we should look into filing a vendor bug.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this test is completely broken.
For one, this line Mix[TID.x % 8] = WaveActiveMax(Mix[TID.x % 8]); looks like it's accessing out of bounds memory.
Secondly, @llvm-beanz has had a PR to fix this specific test for a couple months now, here: #347

I think we should just update the relevant XFAIL, so as not to regress further, but leave this one out of it, so that it can be properly addressed separately.


# CHECK: Name: Nans
# CHECK-NEXT: Format: Float32
Expand Down
3 changes: 0 additions & 3 deletions test/WaveOps/WaveReadLaneAt.16.test
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ DescriptorSets:
# Bug https://github.com/llvm/offload-test-suite/issues/351
# XFAIL: Metal

# Bug tracked by https://github.com/llvm/offload-test-suite/issues/396
# XFAIL: DirectX && WARP

# Bug https://github.com/llvm/offload-test-suite/issues/532
# XFAIL: DirectX && QC

Expand Down
3 changes: 0 additions & 3 deletions test/WaveOps/WaveReadLaneFirst.fp16.test
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,6 @@ DescriptorSets:
# Bug https://github.com/llvm/offload-test-suite/issues/627
# XFAIL: QC && DirectX

# Bug https://github.com/llvm/offload-test-suite/issues/433
# XFAIL: WARP

# RUN: split-file %s %t
# RUN: %dxc_target -enable-16bit-types -T cs_6_5 -Fo %t.o %t/source.hlsl
# RUN: %offloader %t/pipeline.yaml %t.o
Loading