[SWDEV-445928] - hipPointerSetAttribute Test fix

Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64
Esse commit está contido em:
Rahul Manocha
2024-05-01 15:26:16 -07:00
commit de Rakesh Roy
commit b817121403
2 arquivos alterados com 1 adições e 2 exclusões
-1
Ver Arquivo
@@ -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
Ver Arquivo
@@ -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()),