Skip to content

test(texture): enable mipmap bind-to-mipmapped-array test on Linux with image support#610

Open
prihosur-amd wants to merge 1 commit into
ROCm:developfrom
prihosur-amd:priya/mipmap-linux-enable
Open

test(texture): enable mipmap bind-to-mipmapped-array test on Linux with image support#610
prihosur-amd wants to merge 1 commit into
ROCm:developfrom
prihosur-amd:priya/mipmap-linux-enable

Conversation

@prihosur-amd

Copy link
Copy Markdown

Associated JIRA ticket number/Github issue number

AILIKFD-9
https://amd-hub.atlassian.net/browse/AILIKFD-9

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Continuous Integration

What were the changes?

  • Updated mipmap texture bind test guards to allow Linux execution when image support is available.
  • Replaced Windows-only compile-time checks with !__HIP_NO_IMAGE_SUPPORT in hipBindTextureToMipmappedArray.cc.
  • Updated negative-parameter test guard in the same file to include Linux (_WIN32 || __linux__).

Why are these changes needed?

  • Mipmap functionality is supported on Linux and Windows when image support is enabled.
  • Existing Windows-only guards prevented Linux coverage for this test path.
  • This change aligns test coverage with actual platform support and improves APU/Linux validation.

Updated CHANGELOG?

  • Yes
  • No, Does not apply to this PR.

Added/Updated documentation?

  • Yes
  • No, Does not apply to this PR.

Additional Checks

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally.
  • Any dependent changes have been merged.

@prihosur-amd prihosur-amd requested a review from lttamd July 1, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant