Update hipDeviceReset.cc
- Don't destroy the stream after reset since behavior is not consistent.
[ROCm/hip-tests commit: 7edaf99a1c]
This commit is contained in:
committed by
GitHub
orang tua
42473cea0a
melakukan
b75decfdc1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user