Fix merge issues in memory unit tests (#123)

This commit is contained in:
Maneesh Gupta
2023-01-17 21:54:27 +05:30
committato da GitHub
parent 8ae538a341
commit 75bb521e18
6 ha cambiato i file con 7 aggiunte e 106 eliminazioni
@@ -160,10 +160,12 @@ TEST_CASE("Unit_hipMemcpy2DToArrayAsync_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);