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
@@ -199,14 +199,6 @@ TEST_CASE("Unit_hipStreamBeginCapture_Negative_Parameters") {
SECTION("Creating hipStream with invalid mode") {
HIP_CHECK_ERROR(hipStreamBeginCapture(stream, hipStreamCaptureMode(-1)), hipErrorInvalidValue);
}
SECTION("Stream capture on uninitialized stream returns error code.") {
constexpr auto InvalidStream = [] {
StreamGuard sg(Streams::created);
return sg.stream();
};
HIP_CHECK_ERROR(hipStreamBeginCapture(InvalidStream(), hipStreamCaptureModeGlobal),
hipErrorContextIsDestroyed);
}
}
/**