From b75decfdc15be9132a562d30b37406ccfb082fe7 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Mon, 5 Dec 2022 08:56:05 +0530 Subject: [PATCH] Update hipDeviceReset.cc - Don't destroy the stream after reset since behavior is not consistent. [ROCm/hip-tests commit: 7edaf99a1cd8e8fa60e5b59a0df99adf1a0b4210] --- projects/hip-tests/catch/unit/device/hipDeviceReset.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip-tests/catch/unit/device/hipDeviceReset.cc b/projects/hip-tests/catch/unit/device/hipDeviceReset.cc index 109121612a..ad9e6fe0c1 100644 --- a/projects/hip-tests/catch/unit/device/hipDeviceReset.cc +++ b/projects/hip-tests/catch/unit/device/hipDeviceReset.cc @@ -57,7 +57,7 @@ TEST_CASE("Unit_hipDeviceReset_Positive_Basic") { // Inconsistent behavior in CUDA, sometimes segfaults, sometimes works // Return value mismatch on AMD - EXSWHTEC-124 -#if HT_NVIDIA +#if 0 CHECK(hipStreamDestroy(stream) == hipErrorInvalidHandle); #endif @@ -113,7 +113,7 @@ TEST_CASE("Unit_hipDeviceReset_Positive_Threaded") { // Inconsistent behavior in CUDA, sometimes segfaults, sometimes works // Return value mismatch on AMD - EXSWHTEC-124 -#if HT_NVIDIA +#if 0 CHECK(hipStreamDestroy(stream) == hipErrorInvalidHandle); #endif @@ -128,4 +128,4 @@ TEST_CASE("Unit_hipDeviceReset_Positive_Threaded") { CHECK(hipDeviceGetSharedMemConfig(&mem_config_after) == hipSuccess); CHECK(mem_config_after == mem_config_before); } -} \ No newline at end of file +}