diff --git a/catch/hipTestMain/config/config_amd_linux b/catch/hipTestMain/config/config_amd_linux index 99316c9aa1..35c2c27603 100644 --- a/catch/hipTestMain/config/config_amd_linux +++ b/catch/hipTestMain/config/config_amd_linux @@ -279,7 +279,6 @@ "Unit_hipDrvGraphAddMemsetNode_hipMalloc_1D", "Unit_hipDrvGraphAddMemsetNode_hipMallocManaged", "Unit_hipDrvGraphAddMemcpyNode_Negative_Parameters", - "Unit_hipPointerSetAttribute_Negative_Parameters", "Unit_hipDrvGetErrorName_Positive_Basic", "Unit_hipDrvGetErrorString_Positive_Basic", "Unit_hipModuleLaunchKernel_Negative_Parameters", diff --git a/catch/unit/memory/hipPointerSetAttribute.cc b/catch/unit/memory/hipPointerSetAttribute.cc index fe1a93011d..22d18fac85 100644 --- a/catch/unit/memory/hipPointerSetAttribute.cc +++ b/catch/unit/memory/hipPointerSetAttribute.cc @@ -76,7 +76,7 @@ TEST_CASE("Unit_hipPointerSetAttribute_Positive_SyncMemops") { */ TEST_CASE("Unit_hipPointerSetAttribute_Negative_Parameters") { LinearAllocGuard mem(LinearAllocs::hipMalloc, 4); - bool value = false; + int value = 0; SECTION("value is nullptr") { HIP_CHECK_ERROR(hipPointerSetAttribute(nullptr, HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS, mem.ptr()),