Skip to content

Conversation

@systems-assistant
Copy link
Contributor

This PR recreates Gerrit's patch: https://gerrit-git.amd.com/c/compute/ec/hip-tests/+/1193797

Pending conversation from that patch:

Maneesh Gupta
I guess another way to implement this test would be to have the REQUIRE line only in the nv case, while in the amd case we would do the set, but not the REQUIRE.

Gerardo Hernandez
If we do the setAttribute(), but not the REQUIRE() on AMD, as you say, it would not demonstrate that the value being passed to hipFuncSetAttribute() is ignored on AMD. i.e. in the test I am demonstrating that the value stays the same; hence proving it is ignored.
Is that not the right thing to do?

@mangupta_amdeng


🔁 Imported from ROCm/hip-tests#602
🧑‍💻 Originally authored by @rocm-devops

g-h-c and others added 2 commits March 13, 2025 14:51
- Remove Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout_Not_Supported and change Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout so it expects the value to be ignored if withing the allowed range

Change-Id: I6f52788667082075dd46605dfa84d460c3acac0d
ammallya pushed a commit that referenced this pull request Nov 17, 2025
* Fix for afid help
* Update amdsmi_parser.py

Signed-off-by: AL Musaffar, Yazen <[email protected]>
ammallya pushed a commit that referenced this pull request Nov 18, 2025
* Fix for afid help
* Update amdsmi_parser.py

Signed-off-by: AL Musaffar, Yazen <[email protected]>

[ROCm/amdsmi commit: e84e364]
ammallya pushed a commit that referenced this pull request Nov 21, 2025
* Fix for afid help
* Update amdsmi_parser.py

Signed-off-by: AL Musaffar, Yazen <[email protected]>

[ROCm/amdsmi commit: e84e364]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants