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
@@ -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);
}
}
/**