Skip to content

Add/Update HLK tests for IsSpecialFloat Ops#7743

Merged
spall merged 6 commits intomicrosoft:mainfrom
spall:specialFloatHLK
Sep 10, 2025
Merged

Add/Update HLK tests for IsSpecialFloat Ops#7743
spall merged 6 commits intomicrosoft:mainfrom
spall:specialFloatHLK

Conversation

@spall
Copy link
Copy Markdown
Collaborator

@spall spall commented Sep 8, 2025

g_buf[GI] = l;
};</Parameter>
<Parameter Name="ShaderOp.Target">cs_6_2</Parameter>
<Parameter Name="ShaderOp.Target">cs_6_9</Parameter>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are we content just upgrading the target SM on these tests? How do we maintain coverage for older shader models or does that even matter?

What do we want to do about 16-bit support in the HLK? Right now, the tests just skip. Do we actually want to enforce anything there? Technically we probably should have HLK requirements for 16-bit support if we truly want to certify via HLK.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

there is no coverage for older shader models; its not supported

…river doesn't support sm6.9 + remove rest of stuff necessary for old removed isnormal test
CComPtr<IStream> pStream;
readHlslDataIntoNewStream(L"ShaderOpArith.xml", &pStream, m_support);

CComPtr<ID3D12Device> pDevice;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm assuming IsSpecial requires SM6.9? But the 16-bit support for this particular test is an optional feature?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I just followed how UnaryHalfOpTest treats 16 bit support.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes it requires SM6.9, but with how the tests are currently set up 16 bit support isn't "required".

Copy link
Copy Markdown
Member

@hekota hekota left a comment

Choose a reason for hiding this comment

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

LGTM!

@spall spall merged commit 7670b16 into microsoft:main Sep 10, 2025
12 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

4 participants