SWDEV-514841 - Remove invalid stream tests on AMD platform

[ROCm/hip-tests commit: 0c1a7bf155]
This commit is contained in:
Xie, Pengda
2025-05-08 16:25:23 -07:00
committed by GitHub
parent 035c860b2a
commit dd6d3a6cd3
22 changed files with 9 additions and 280 deletions
@@ -181,12 +181,6 @@ TEST_CASE("Unit_hipStreamAttachMemAsync_Negative_Parameters") {
LinearAllocGuard<hipDeviceptr_t> managed(LinearAllocs::hipMallocManaged, kPageSize,
hipMemAttachHost);
SECTION("invalid stream") {
HIP_CHECK(hipStreamDestroy(stream.stream()));
HIP_CHECK_ERROR(hipStreamAttachMemAsync(stream.stream(), managed.ptr()),
hipErrorContextIsDestroyed);
}
SECTION("dev_ptr == nullptr") {
HIP_CHECK_ERROR(hipStreamAttachMemAsync(stream.stream(), nullptr), hipErrorInvalidValue);
}
@@ -221,4 +215,4 @@ TEST_CASE("Unit_hipStreamAttachMemAsync_Negative_Parameters") {
hipErrorInvalidValue);
}
}
}
}