SWDEV-514841 - Remove invalid stream tests on AMD platform

[ROCm/hip-tests commit: 0c1a7bf155]
此提交包含在:
Xie, Pengda authored and GitHub committed 2025-05-08 16:25:23 -07:00
1 父節點 035c860b2a
當前提交 dd6d3a6cd3
22 file changed
+9 -280

No files matched your search

-6
查看文件
@@ -123,12 +123,6 @@ TEST_CASE("Unit_hipMallocAsync_Negative_Parameters") {
HIP_CHECK_ERROR(hipMallocAsync(nullptr, alloc_size, stream.stream()), hipErrorInvalidValue);
}
SECTION("invalid stream handle") {
HIP_CHECK_ERROR(
hipMallocAsync(reinterpret_cast<void**>(&p), alloc_size, reinterpret_cast<hipStream_t>(-1)),
hipErrorInvalidHandle);
}
SECTION("Size is max size_t") {
HIP_CHECK_ERROR(hipMallocAsync(reinterpret_cast<void**>(&p), max_size, stream.stream()),
hipErrorOutOfMemory);