From 6d5bf3cca8cb6656fdd60c6961a51d8bad4c5a64 Mon Sep 17 00:00:00 2001 From: AnzhongHuang Date: Tue, 15 Apr 2025 10:55:33 +0800 Subject: [PATCH] SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT Removed this verification, as HIP_POINTER_ATTRIBUTE_CONTEXT will be supported. --- catch/unit/memory/hipPointerGetAttribute.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/catch/unit/memory/hipPointerGetAttribute.cc b/catch/unit/memory/hipPointerGetAttribute.cc index 16101a628..7b33062d2 100644 --- a/catch/unit/memory/hipPointerGetAttribute.cc +++ b/catch/unit/memory/hipPointerGetAttribute.cc @@ -322,10 +322,6 @@ TEST_CASE("Unit_hipPointerGetAttribute_Negative") { REQUIRE(hipPointerGetAttribute(&data, HIP_POINTER_ATTRIBUTE_MEMPOOL_HANDLE, reinterpret_cast(A_d)) == hipErrorNotSupported); } - SECTION("Pass HIP_POINTER_ATTRIBUTE_CONTEXT not supported by HIP") { - REQUIRE(hipPointerGetAttribute(&data, HIP_POINTER_ATTRIBUTE_CONTEXT, - reinterpret_cast(A_d)) == hipErrorNotSupported); - } SECTION("Pass HIP_POINTER_ATTRIBUTE_P2P_TOKENS not supported by HIP") { REQUIRE(hipPointerGetAttribute(&data, HIP_POINTER_ATTRIBUTE_P2P_TOKENS, reinterpret_cast(A_d)) == hipErrorNotSupported);