[SWDEV-445928] - hipPointerSetAttribute Test fix

Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64
This commit is contained in:
Rahul Manocha authored and Rakesh Roy committed 2024-06-07 10:49:48 -04:00
1 szülő b94242f015
commit b817121403
2 files changed
+1 -2

No files matched your search

@@ -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()),