SWDEV-514841 - Remove invalid stream tests on AMD platform

This commit is contained in:
Xie, Pengda
2025-05-08 16:25:23 -07:00
committed by GitHub
parent 2c800b120d
commit 0c1a7bf155
22 changed files with 9 additions and 280 deletions
-9
View File
@@ -155,13 +155,4 @@ TEST_CASE("Unit_hipMemPrefetchAsync_Negative_Parameters") {
HIP_CHECK_ERROR(hipMemPrefetchAsync(alloc.ptr(), kPageSize, hipInvalidDeviceId),
hipErrorInvalidDevice);
}
#if HT_AMD
SECTION("Invalid stream") {
hipStream_t stream;
HIP_CHECK(hipStreamCreate(&stream));
HIP_CHECK(hipStreamDestroy(stream));
HIP_CHECK_ERROR(hipMemPrefetchAsync(alloc.ptr(), kPageSize, device, stream),
hipErrorContextIsDestroyed);
}
#endif
}