diff --git a/catch/hipTestMain/config/config_amd_linux b/catch/hipTestMain/config/config_amd_linux index 0b0cdf4ebc..767987f296 100644 --- a/catch/hipTestMain/config/config_amd_linux +++ b/catch/hipTestMain/config/config_amd_linux @@ -105,8 +105,6 @@ "Unit_hipEventIpc", "=== SWDEV-427101:Below test fails randomly in PSDB ===", "Unit_deviceAllocation_InOneThread_AccessInAllThreads", - "=== Below test is disabled due to defect EXSWHTEC-347 ===", - "Unit_hipPointerSetAttribute_Positive_SyncMemops", "=== Below 2 tests are disable due to defect EXSWHTEC-356 ===", "Unit_Device___hisinf2_Accuracy_Positive", "Unit_Device___hisnan2_Accuracy_Positive", diff --git a/catch/hipTestMain/config/config_amd_windows b/catch/hipTestMain/config/config_amd_windows index 933f91b6d0..d6196d6025 100644 --- a/catch/hipTestMain/config/config_amd_windows +++ b/catch/hipTestMain/config/config_amd_windows @@ -214,8 +214,6 @@ "Unit_hipVectorTypes_test_on_device", "Unit_Layered1DTexture_Check_DeviceBufferToFromLayered1DArray - ushort4", "Unit_Layered2DTexture_Check_DeviceBufferToFromLayered2DArray - float4", - "=== Below test is disabled due to defect EXSWHTEC-347 ===", - "Unit_hipPointerSetAttribute_Positive_SyncMemops", "NOTE: The following test is disabled due to defect - EXSWHTEC-241", "Unit_hipFuncGetAttributes_Negative_Parameters", "NOTE: The following test is disabled due to defect - EXSWHTEC-242", diff --git a/catch/unit/memory/hipPointerSetAttribute.cc b/catch/unit/memory/hipPointerSetAttribute.cc index 22d18fac85..3ca80b6274 100644 --- a/catch/unit/memory/hipPointerSetAttribute.cc +++ b/catch/unit/memory/hipPointerSetAttribute.cc @@ -52,7 +52,7 @@ TEST_CASE("Unit_hipPointerSetAttribute_Positive_SyncMemops") { HIP_CHECK(hipMemcpy(dst.ptr(), src.ptr(), 1024, hipMemcpyDeviceToDevice)); HIP_CHECK_ERROR(hipStreamQuery(stream.stream()), hipErrorNotReady); - bool value = true; + int value = 1; HIP_CHECK(hipPointerSetAttribute(&value, HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS, reinterpret_cast(src.ptr()))); HIP_CHECK(hipPointerSetAttribute(&value, HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS,