Fix merge issues in memory unit tests (#123)

Этот коммит содержится в:
Maneesh Gupta
2023-01-17 21:54:27 +05:30
коммит произвёл GitHub
родитель 8ae538a341
Коммит 75bb521e18
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);