[SWDEV-445928] - hipPointerSetAttribute Test fix

Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64


[ROCm/hip-tests commit: b817121403]
Этот коммит содержится в:
Rahul Manocha
2024-05-01 15:26:16 -07:00
коммит произвёл Rakesh Roy
родитель e3173e2b51
Коммит ae8bf93281
2 изменённых файлов: 1 добавлений и 2 удалений
-1
Просмотреть файл
@@ -279,7 +279,6 @@
"Unit_hipDrvGraphAddMemsetNode_hipMalloc_1D",
"Unit_hipDrvGraphAddMemsetNode_hipMallocManaged",
"Unit_hipDrvGraphAddMemcpyNode_Negative_Parameters",
"Unit_hipPointerSetAttribute_Negative_Parameters",
"Unit_hipDrvGetErrorName_Positive_Basic",
"Unit_hipDrvGetErrorString_Positive_Basic",
"Unit_hipModuleLaunchKernel_Negative_Parameters",
+1 -1
Просмотреть файл
@@ -76,7 +76,7 @@ TEST_CASE("Unit_hipPointerSetAttribute_Positive_SyncMemops") {
*/
TEST_CASE("Unit_hipPointerSetAttribute_Negative_Parameters") {
LinearAllocGuard<int> mem(LinearAllocs::hipMalloc, 4);
bool value = false;
int value = 0;
SECTION("value is nullptr") {
HIP_CHECK_ERROR(hipPointerSetAttribute(nullptr, HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS, mem.ptr()),