SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT (#122)

Removed this verification, as HIP_POINTER_ATTRIBUTE_CONTEXT will be supported.

[ROCm/hip-tests commit: 2c800b120d]
This commit is contained in:
Huang, AnZhong
2025-05-08 14:05:48 +08:00
committato da GitHub
parent d2b66b08bb
commit 035c860b2a
@@ -322,10 +322,6 @@ TEST_CASE("Unit_hipPointerGetAttribute_Negative") {
REQUIRE(hipPointerGetAttribute(&data, HIP_POINTER_ATTRIBUTE_MEMPOOL_HANDLE,
reinterpret_cast<hipDeviceptr_t>(A_d)) == hipErrorNotSupported);
}
SECTION("Pass HIP_POINTER_ATTRIBUTE_CONTEXT not supported by HIP") {
REQUIRE(hipPointerGetAttribute(&data, HIP_POINTER_ATTRIBUTE_CONTEXT,
reinterpret_cast<hipDeviceptr_t>(A_d)) == hipErrorNotSupported);
}
SECTION("Pass HIP_POINTER_ATTRIBUTE_P2P_TOKENS not supported by HIP") {
REQUIRE(hipPointerGetAttribute(&data, HIP_POINTER_ATTRIBUTE_P2P_TOKENS,
reinterpret_cast<hipDeviceptr_t>(A_d)) == hipErrorNotSupported);