8000 Add test exercising CheckAccessFullyMapped · Issue #181 · llvm/offload-test-suite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add test exercising CheckAccessFullyMapped #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bogner opened this issue May 7, 2025 · 1 comment
Open

Add test exercising CheckAccessFullyMapped #181

bogner opened this issue May 7, 2025 · 1 comment

Comments

@bogner
Copy link
Collaborator
bogner commented May 7, 2025

We need tests in test/Feature/HLSLLib that exercises the CheckAccessFullyMapped function. This should use a Load, Sample, or Gather overload that returns the status of the operation on a resource, and then call CheckAccessFullyMapped on that.

Some interesting corner cases to consider:

  • If the status bit is used by something other than CheckAccessFullyMapped, DXC will implicitly call CheckAccessFullyMapped
  • If CheckAccessFullyMapped is called on something other than an operation status, DXC will silently treat it as a cast to a bool
@bogner bogner moved this to Planning in HLSL Support May 7, 2025
@bogner bogner removed the status in HLSL Support May 7, 2025
@damyanp damyanp moved this to Planning in HLSL Support May 7, 2025
@damyanp damyanp removed the status in HLSL Support May 7, 2025
@damyanp
Copy link
Collaborator
damyanp commented May 7, 2025

Before we can refine this we need to plan out the work to add support for reserved resources to the offload tester.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants
0