[SWDEV-445928] - hipPointerSetAttribute Test fix

Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64
Cette révision appartient à :
Rahul Manocha a créé et Rakesh Roy a révisé 2024-06-07 10:49:48 -04:00
1 Parent b94242f015
révision b817121403
2 fichiers modifiés
+1 -2

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -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()),