Fix merge issues in memory unit tests (#123)

[ROCm/hip-tests commit: 75bb521e18]
此提交包含在:
Maneesh Gupta
2023-01-17 21:54:27 +05:30
提交者 GitHub
父節點 89cf6ce4bb
當前提交 f6537beee3
共有 6 個檔案被更改,包括 7 行新增106 行删除
+2
查看文件
@@ -165,10 +165,12 @@ TEST_CASE("Unit_hipMemcpy2DFromArrayAsync_Negative_Parameters") {
const unsigned int flag = hipArrayDefault;
#if HT_NVIDIA
constexpr auto InvalidStream = [] {
StreamGuard sg(Streams::created);
return sg.stream();
};
#endif
ArrayAllocGuard<int> array_alloc(make_hipExtent(width, height, 0), flag);
LinearAllocGuard2D<int> device_alloc(width, height);