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
-11
View File
@@ -94,17 +94,6 @@ TEST_CASE("Unit_hipStreamQuery_spt_WithFinishedWork") {
*/
#if HT_AMD
TEST_CASE("Unit_hipStreamQuery_spt_NegativeCases") {
SECTION("Query Destroyed Stream") {
hipStream_t stream{nullptr};
HIP_CHECK(hipStreamCreate(&stream));
HIP_CHECK(hipStreamDestroy(stream));
HIP_CHECK_ERROR(hipStreamQuery_spt(stream), hipErrorContextIsDestroyed);
}
SECTION("Query Uninitialized Stream") {
hipStream_t streamUnInit{reinterpret_cast<hipStream_t>(0xFFFF)};
HIP_CHECK_ERROR(hipStreamQuery_spt(streamUnInit),
hipErrorContextIsDestroyed);
}
SECTION("Submit Work On Stream And Query Null Stream") {
hipStream_t ValidStream;
HIP_CHECK(hipStreamCreate(&ValidStream));