Skip to content

DxilConfTest::UnaryHalfOpTest#HtanHalf is failing on recent 24H2 build #6744

@SevenIsSeven

Description

@SevenIsSeven

Description
DxilConfTest::UnaryHalfOpTest#HtanHalf is failing on recent 24H2 build

Steps to Reproduce
it used to pass with 22621 and we notice 24H2 slightly changed the expected values of tanh(1.0), tanh(-1.0) from '0x3a17, 0xba17' to current '0x3a18, 0xba18'.
It looks we also need to enlarge the tolerance for the test, like #6179

Actual Behavior
element #7, input = 1.00000000(0x3c00), output = 0.76074219(0x3a16), expected = 0.76171875(0x3a18)
Error: Verify: IsTrue(CompareOutputWithExpectedValueHalf(output, ref, type, tolerance)) [File: OSS\dxil\test\hlk\dxilconf.cpp, Function: VerifyOutputWithExpectedValueHalf, Line: 7098]
element #8, input = -1.00000000(0xbc00), output = -0.76074219(0xba16), expected = -0.76171875(0xba18)
Error: Verify: IsTrue(CompareOutputWithExpectedValueHalf(output, ref, type, tolerance)) [File: OSS\dxil\test\hlk\dxilconf.cpp, Function: VerifyOutputWithExpectedValueHalf, Line: 7098]

Environment

  • DXC version dxc_2024_05_24
  • Host Operating System win11 24h2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crash

    Type

    No type

    Projects

    Status

    Triaged

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions